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. > > Do I need to specify the user? > > Should the entries be separated by spaces, or tabs? > > Any advice gratefully received. > > Best regards, > > Alex Birchall > Library Systems Manager > The Sheppard Library > Middlesex University > The Burroughs > London NW4 4BT > UK > > Tel: +44 (0)20 8 411 5235 > Mob: 07765 237 570 > > > > Hi Alex,
no, you shouldn't specify the user in the crontab entry. Each user has their own crontab. You can specify the user using 'crontab -u $user'. HTH, Sam -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/