Mailinglist Archive: opensuse (4570 mails)
| < Previous | Next > |
Re: [SLE] start X app from cron
- From: Patrick Shanahan <ptilopteri@xxxxxxxxx>
- Date: Fri, 25 Nov 2005 00:21:19 +0000 (UTC)
- Message-id: <20051125002057.GH7877@xxxxxxxxxxxxxxx>
* cbeerse@xxxxxxxxx <cbeerse@xxxxxxxxx> [11-24-05 08:49]:
> Try to create an `at` entry from your crontab entry. With `at`, you
> will get the environment roughly as it is where you create it. You can
> fetch this at-job to a save place and with a proper name. Create a
> crontab entry from that script.
I get the same result, cannot connect to x server, with 'at' in the
crontab file or in the called script.
BUT, adding 'export DISPLAY=:0 to the calling script did the trick.
thankyou for your lead.
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
> Try to create an `at` entry from your crontab entry. With `at`, you
> will get the environment roughly as it is where you create it. You can
> fetch this at-job to a save place and with a proper name. Create a
> crontab entry from that script.
I get the same result, cannot connect to x server, with 'at' in the
crontab file or in the called script.
BUT, adding 'export DISPLAY=:0 to the calling script did the trick.
thankyou for your lead.
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2
| < Previous | Next > |