setting a cron job

Jamie Griffin jpg at gmx.com
Mon Mar 10 01:01:33 UTC 2008


ok... I've managed to edit the file successfully but now it doesn't seem to run. I've added the line:

2 * * * * * /usr/bin/getmail 

to the file but it's not fetching mail, or doesn't appear to be. Does it look as though there's something wrong with what i've done? 

Jamie


On Sun, Mar 09, 2008 at 08:50:43PM -0400, Paul wrote:
> On Sun, Mar 9, 2008 at 8:20 PM, Jamie Griffin <jpg at gmx.com> wrote:
> 
> > I'm using getmail at the moment,
> >
> > i've tried again and the error i'm getting is:
> >
> > "/tmp/crontab.1JbJiA/crontab":3: bad hour
> > errors in crontab file, can't install.
> > Do you want to retry the same edit?
> >
> > I'm not sure what that means?
> 
> 
> It means you set incorrectly the hour at which you want your job to run.

> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users





More information about the ubuntu-users mailing list