Hi, I have the following sh called rest.sh (it seeks to kill a program called actu that compiles in c and then rerun it). When I try the script it works correctly, kill the process and run it again.
#!/bin/bash
kill actu
actu
exit 0
Add it to a cron task that should run every 5 minutes in the following way.
5,10,15,20,25,30,35,40,45,50,55 * * * * root sudo /home/raspberry/rest.sh
however the command is never executed. Any ideas? Greetings!