D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Crontab sanity check

 

On Wed, Aug 10, 2011 at 12:29 PM, Philip Hudson wrote:
> You must use:
>
> crontab -e
>
> For root crontab:
> sudo crontab -e

Or, if you want to use /etc/crontab add the user name before the command, e.g.

1 23 * * * root /opt/cronjob/startme
1 7 * * * root /opt/cronjob/stopme

At least, that's what /etc/crontab on my Ubuntu suggests; I always use
crontab -e myself.

Martijn.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq