Venkatakrishnan sudarsanam wrote:

>Hi all,
>Is there any task scheduler available in RH 7.2other than Kcron/Crontab as Crontab is 
>not working as expected.  The scheduled task given using 
>crontab -e is not getting executed at all, it throws an error saying that 
>
>xset: /usr/bin/AbiWord cannot display.... when i tried to execute AbiWord in a 
>particular time using Crontab.  
>
>What can be the problem if Crontab if it  has to work properly or suggest me any 
>other better task scheduler apps available.
>
>Venkatakrishnan.
>
>  
>
If you really wanted to do this via crontab
1. Set xhost+ (dangerous) from your xwindow session (KDE/GNOME open 
xterm then type xhost +)
    or if you know how to use MIT cookies well you are on safer side

2. Make a small script in your $HOME, like /home/username/scripts/abiword

        in the script /home/username/scripts/abiword
        DISPLAY=:0 /usr/bin/AbiWord

3. Schedule your job using the crontab but use this /home/username/scripts/abiword as 
your job

4. Then make sure you have your Xwindow running  and wait for the time 
that you want to open it. it should work as you have expected.

-Chandra





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to