Richard Davies wrote:
Hi Merlin,
I
59 22 * * * root passwd -l kat 00 23 * * * root shutdown now 00 08 * * * root passwd -u kat
Using crontab -e edits your own crontab files in which case you shouldn't have root in the entry, this is only required for the system crontab '/etc/crontab'
The shutdown entry should be either shutdown -r now to reboot or shutdown -h now to halt.
I think this should work, but not tried it personally.
Regards
Merlin
Tried this but it doesn't work either put it all in the /etc/crontab but none of it worked.
I think you might need to add the full path to the binary, eg. /usr/bin/passwd I'm not sure what kind of environment cron jobs run under. Regards Merlin -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq