shutdown linux box at same time everyday using crontab
Hi EE. I have a linux box with fedora 5. I would like to shut it down at the same time every day. I have entered the instructions in crontab to point to a script that I have placed in the /etc folder. the entry in crontab basically says
30 19 * * * sh /etc/netcon/turnoff.sh
turnoff.sh has the entry - 'sudo shutdown -h now'
for some reason this isnt working. How can I get crontab to shut the machine down everyday?