Re: how to schedule my task

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  I created a GUI application on QT 3.1 on red HAT LINUX. Now i want to run this application automatically just after log in as ROOT. How can i do this . If I want to run my application daily at 4:30 PM then what to do for it.
>
>  I tried it using cron but  could not successful . Any idea will be appriciable.

cron does not have a display associated with it, so your gui app will
die.  check root's mail, by default all output (errors in this case)
from the job will be mailed to the user.

you could try the following:

DISPLAY=:0.0

in the script, but you'll need to do some xhost stuff for each user
that may be logged in on the GUI.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux