RFC: cronKit

Till Maas opensource at till.name
Mon Jul 6 17:21:25 UTC 2009


On Mon July 6 2009, Christoph Höger wrote:

> since I sync my mail with the experimental gnome ui of offlineimap, I
> encounter a small problem:
> How do I tell cron to only invoke the job when I am logged in under
> gnome only? Since consolekit (correct me if I am wrong on that) does not

> Do you have any advice on that? Does such a software already exist?

You can probably replace "till" with your username and then use this in your 
crontab:

ps u -C gnome-session | egrep -q  "^till " && offlineimap

Regards
Till
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090706/81437740/attachment.sig>


More information about the fedora-devel-list mailing list