Cron job not running
I have created a script
#!/bin/bash
echo "tredor"
if i run it using command line,it works , but when i move it to being a
cron job , it doesnt. in crontab -e , i entered the following code
*/5 * * * * root ./my_script
I expect to see an output "tredor" every 5 minutes but that is no
happening. How can i modify my codes to be able to see output
No comments:
Post a Comment