Hi everyone
I am trying to get a script to run every 5minutes using Cronjob. I have read everything I can find on the topic, but cannot seem to get it working.
I have tried adding the following line to the /etc/crontab file using nano text editor and also tried using crontab -e.
2 * * * * root /bin/bash /home/ads/nameChanger.sh > /home/ads/logs/cron.log
Nothing happens though, the script does not run, nor does a log file get updated.
Any suggestions?
I am trying to get a script to run every 5minutes using Cronjob. I have read everything I can find on the topic, but cannot seem to get it working.
I have tried adding the following line to the /etc/crontab file using nano text editor and also tried using crontab -e.
2 * * * * root /bin/bash /home/ads/nameChanger.sh > /home/ads/logs/cron.log
Nothing happens though, the script does not run, nor does a log file get updated.
Any suggestions?