Alex Birchall wrote:
> Hi,
>
> I'd like to schedule a reboot of my Ubuntu server.
>
> When I type sudo crontab -l at the prompt, the following is displayed:
>
> #m h dom mon dow      command
> 40 12 * * 0-7 eprints reboot
>
> As I understand it, this should mean that at 40 minutes past 12 each day
> the user eprints will issue the command reboot.
>
> The problem is, nothing appears to be happening.
>   
I would assume it's a permissions issue.  As far as I'm aware to use the 
reboot command the user has to be root.

Running the command reboot from a terminal as a normal user comes back with:

reboot: Need to be root

Rob



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to