Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33

Thread: crontab: How to run GUI programs with cron

  1. #21
    Join Date
    Oct 2008
    Beans
    20
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: crontab: How to run GUI programs with cron

    Problem solved - I switched from crond to fcron and I could execute a program with a word - like "firefox" or "kaffeine" or "limewire"

    Great - I'll use fcron from now on.
    Last edited by euphemus; October 25th, 2008 at 06:11 PM. Reason: I solved my own problem.

  2. #22
    Join Date
    Nov 2007
    Beans
    148
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: crontab: How to run GUI programs with cron

    Praise the lord! It works!

  3. #23
    Join Date
    Nov 2008
    Beans
    21

    Re: crontab: How to run GUI programs with cron

    hi..i have ubuntu edgy 6.10 ..i m not able to run azureus at a particular time in gui...i have copied the different option which i tried and pasted here.

    arun@arun-desktop:/opt/azureus$ sudo crontab -e
    crontab: installing new crontab
    arun@arun-desktop:/opt/azureus$ sudo crontab -l
    # m h dom mon dow command
    39 00 * * * export DISPLAY=:0 && ./azureus
    arun@arun-desktop:/opt/azureus$ sudo crontab -e
    crontab: installing new crontab
    arun@arun-desktop:/opt/azureus$ sudo crontab -l
    # m h dom mon dow command
    41 00 * * * export DISPLAY=:0 && /opt/azureus/azureus
    arun@arun-desktop:/opt/azureus$ sudo crontab -e
    crontab: installing new crontab
    arun@arun-desktop:/opt/azureus$ sudo crontab -l
    # m h dom mon dow command
    43 00 * * * env DISPLAY=:0.0 /opt/azureus/azureus
    arun@arun-desktop:/opt/azureus$ sudo crontab -e
    crontab: installing new crontab
    arun@arun-desktop:/opt/azureus$ sudo crontab -e
    crontab: installing new crontab
    arun@arun-desktop:/opt/azureus$ sudo crontab -l
    # m h dom mon dow command
    45 00 * * * env DISPLAY=:0.0 ./azureus
    arun@arun-desktop:/opt/azureus$

    pl help

  4. #24
    Join Date
    Feb 2007
    Location
    US of A
    Beans
    639
    Distro
    Ubuntu Karmic Koala (testing)

    Re: crontab: How to run GUI programs with cron

    thanks
    If you have any questions just send me a private message and a link back to the thread
    My Guides: sendEmail | Windows Shares

  5. #25
    Join Date
    Aug 2006
    Beans
    Hidden!

    Re: crontab: How to run GUI programs with cron

    Is there a way to use this even if there isn't a display running (i.e., on a headless server)?

  6. #26
    Join Date
    Apr 2005
    Location
    Sintra, Portugal
    Beans
    835

    Re: crontab: How to run GUI programs with cron

    Quote Originally Posted by jelevin View Post
    Is there a way to use this even if there isn't a display running (i.e., on a headless server)?
    Well, of course. cron main use is precisely that, to be used on servers, headless or not. But probably what you want is on another thread. Try searching for crontab tutorials on these forums.

  7. #27
    Join Date
    Sep 2007
    Beans
    37

    Thumbs up Re: crontab: How to run GUI programs with cron

    Excellent! Bad thing is it took over an hour of pain to find this out but it was worth it in the end.

  8. #28
    Join Date
    Aug 2007
    Beans
    3

    Re: crontab: How to run GUI programs with cron

    Just THANKS!

  9. #29
    Join Date
    Jul 2011
    Beans
    1

    Re: crontab: How to run GUI programs with cron

    Thanks is not enough to express my feelings!
    And Thanks all of you!

  10. #30
    Join Date
    Dec 2009
    Location
    India
    Beans
    9
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: crontab: How to run GUI programs with cron

    Thanks, was useful..

Page 3 of 4 FirstFirst 1234 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •