Cron job every few minutes ??

andrew fries afries at
Sat Dec 25 22:03:26 UTC 2004

On Sun, 26 Dec 2004 08:44 am, Vincent Trouilliez wrote:
> > just to see if it would start the command I put in  /etc/cron.daily
> I meant cron.hourly of course, still, doesn't work... :o(
> Vince, needs a cron expert...

I'm no expert, but I believe the correct way to create cron entry is with 
crontab command: 
as user, run 'crontab -e' - this will launch some sort of text editor, 
possibly vi - that's where you create that line of consisting of asterixes 
and full path of command you want to run. Save it, and this will make proper 
cron entry. You can see it's there by running 'crontab -l' - if you don't see 
it, most likely you screwed up something in stupid vi!
Also, testing cron with a command like 'gedit' is probably not the best idea - 
pick some command that doesn't demand interraction with the desktop.

More information about the ubuntu-users mailing list