Cron job every few minutes ??
Vincent Trouilliez
vincent.trouilliez at wanadoo.fr
Sat Dec 25 22:49:47 UTC 2004
Le dimanche 26 décembre 2004 à 09:03 +1100, andrew fries a écrit :
> 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.
It all went fine, but again my job didn't get executed.
I wrote the following :
44,45,46 23-00 * * * /bin/echo "Lotus Esprit"
Anything wrong ??
BTW where is the echo command supposed to print ? In one of my numerous
terminal windows/tabs, or in one of the virtual console, tty1 to
tty7 ???
Question, question... :o(
Vince
More information about the ubuntu-users
mailing list