Results 1 to 6 of 6

Thread: how to write alarm script exact time

  1. #1
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    how to write alarm script exact time

    ok I followed this page:

    http://ca.ubuntuforums.org/showthread.php?p=1343270

    that script seems good but I want to change

    I want if program is running that it wakes up program on each day (example at 17:15)

    so I don't want to put it in to sleep but in to time waiting
    19.9.2012 moved from noob distro to Fedora after 3 years
    thank you all in learning Linux expirience

  2. #2
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to write alarm script exact time

    *BumP*
    19.9.2012 moved from noob distro to Fedora after 3 years
    thank you all in learning Linux expirience

  3. #3
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to write alarm script exact time

    bump
    19.9.2012 moved from noob distro to Fedora after 3 years
    thank you all in learning Linux expirience

  4. #4
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to write alarm script exact time

    bump
    19.9.2012 moved from noob distro to Fedora after 3 years
    thank you all in learning Linux expirience

  5. #5
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: how to write alarm script exact time

    That is what cron is for which can run something regularly at any set day of week or month, or time of day, or interval. In a terminal see:

    Code:
    man cron
    man crontab
    man 5 crontab
    If you want something to run as root use sudo crontab -e to configure it. If you want it to run as you do crontab -e. Note that the environment will be minimal, so it is best to assume no environment, export any environment you need and/or use full paths (not shortcuts like ~/ or $HOME/ ).

    Although, if you just want to set an alarm to do something once only, you might web search "linux rtc".
    Last edited by efflandt; December 21st, 2010 at 02:02 AM.
    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32" 1080p & assorted older computers

  6. #6
    Join Date
    May 2010
    Beans
    107
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: how to write alarm script exact time

    thank you very much

    problem solved
    19.9.2012 moved from noob distro to Fedora after 3 years
    thank you all in learning Linux expirience

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
  •