[plug] Crontab??

James Devenish devenish at guild.uwa.edu.au
Tue Jul 27 20:38:03 WST 2004


In message <d12e5c904072705328641a97 at mail.gmail.com>
on Tue, Jul 27, 2004 at 08:32:00PM +0800, Senectus . wrote:
> ok that helped..
> so now I have this open up my app like so:
> 00      21      *       *       fri          firefox

By the way: this will probably send you an e-mail explaining why it
failed (because I would expect it to fail). Basically, firefox will need
to know "where" it should open. If you want it to attempt to open itself
on your graphical console (e.g. if you're logged in with an X11 window
manager), you might need to do:

00      21      *       *       fri          env DISPLAY=:0 firefox

Also, note that it might not be a good idea to attempt a "long-running"
cron job. If you test the above and it works, you might then choose to
change it to this in future:

00      21      *       *       fri          env DISPLAY=:0 firefox &





More information about the plug mailing list