1. where are the cron logs?
2. how do I setup a cron job to reboot my system a 3 am daily? I tried:
#reboot daily @ 3 am
0 3 * * * sudo reboot
but it didn't work.
Thanks
cron questions.
Re: cron questions.
KE7FNS the command you gave me didn't work.
I have been editing /etc/crontab.
I still don't find any cron logs anywhere. Andy, are there any? If so, where.
I have been editing /etc/crontab.
I still don't find any cron logs anywhere. Andy, are there any? If so, where.
Fran
W1FJM
W1FJM
Re: cron questions.
If the user is root, I suspect you don't need the "sudo" part of the command.KE7FNS wrote: ↑Fri Jul 23, 2021 6:14 pm
You should probably use:Code: Select all
0 3 * * * root sudo /sbin/shutdown -r
--
AF6VN
Dennis L Bieber