Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This was what i did: sudo su - crontab -e then edit the file with the follow text: 0 22 * * * /sbin/shutdown -h now Then prest "Esc" pressed ":" and typed "wq" to save and close the file after that i checked it with crontab -l and saw my cronjob in that list. and at 22:00 the computer started shutting down

click to hide/show revision 2
No.2 Revision

This was what i did: sudo su - crontab -e -e then edit the file with the follow text: text:

0 22 * * * /sbin/shutdown -h now

Then prest "Esc" pressed "Esc", pressed ":" and typed "wq" to save and close the file after that i checked it with crontab -l -l and saw my cronjob in that list. and at 22:00 the computer started shutting down

click to hide/show revision 3
No.3 Revision

This was what i did: sudo su - - crontab -e then edit the file with the follow text:

0 22 * * * /sbin/shutdown -h now

Then pressed "Esc", pressed ":" and typed "wq" to save and close the file after that i checked it with crontab -l and saw my cronjob in that list. and at 22:00 the computer started shutting down