Imported from the Apple Support Forums via the Wayback Machine 🔗
Try:
0 6 * * 1-5 root /sbin/reboot
0
Apple Support Community member·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Usually you need to add the full path of the binary to crontabs, so in this case it would be
0 6 * * 1-5 root /sbin/reboot
Doug
0
Apple Support Community member·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks fellas. I'll make the change and post back tomorrow with the results!
0
Apple Support Community member·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Doug Niven1 wrote: Usually you need to add the full path of the binary to crontabs
Yes, that's often the case. Also, it's possible that reboot won't work if it's not run by the root user. I know that's the case with shutdown (and the UPS shutdown script that uses shutdown). If it is, then you'll have to put it into the root user's crontab:
<pre class="command">sudo crontab -e</pre>
At least that's the way it is on Tiger...
charlie
0
Apple Support Community member·
Imported from the Apple Support Forums via the Wayback Machine 🔗