[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Howto add a crontab job ?



> on Sun, Nov 10, 2002, ajlewis2@intac.com (ajlewis2@intac.com) wrote:
> > In linux.debian.user, you wrote:
> > > 
> > > I use crontab -e to edit my personal crontab.  The format 
> that you 
> > > are
> > > looking for is:
> > > 
> > > 
> > > * * * * * <command> \n
> > > 
> > > The first star is the minutes:  every 5 minutes would be 0-59/5 or
> > > 0,5,10,15,20,25,30,35,40,45,50,55
> 
> <...>
> 
> > I have put this in using crontab -e so that all the info is 
> there when 
> > I do my next edit:
> > 
> > #minute (0-59)
> > #|	hour (0-23)
> > #|	|	day of the month (1-31)
> > #|	|	|	month of the year (1-12)
> > #|	|	|	|	day of the week (0-6 with 0=Sunday)
> > #|	|	|	|	|	commands
> > 
> > It is at the top and then my cron jobs are lined up under it.
> 
> I've long done similarly.  Good practice.
> 

Isn't there a 'user' option before the 'command' ?



Reply to: