• CRONTAB

    From Starpilot@VERT/STARPI to All on Sat Sep 24 02:00:04 2011
    I'm using 10.4 Ubuntu and crontab to run scripts at timed intervals etc. Was not sure if I reboot or power outage will crontab start automatically or will
    I have to restart it.
    Starpilot/\James

    ---
    ■ Synchronet ■ Starpilots Hanger BBS
  • From Rastus@VERT/EWBBS to Starpilot on Sun Sep 25 05:26:46 2011
    Starpilot wrote:

    I'm using 10.4 Ubuntu and crontab to run scripts at timed intervals etc.
    Was not sure if I reboot or power outage will crontab start automatically
    or will I have to restart it.
    Starpilot/\James

    All you have to do is put your scripts in the right directory.. /etc/cron.hourly /etc/cron.daily etc.... you don't even need to restart cron or anything.. of course you can still add items to your crontab if you need to. Cron starts at bootup and reloads it's configs as needed.
    --

    Nicholas Loch (Fat Rastus) | Electronic Warfare BBS telnet://ewbbs.synchro.net | http://www.ewbbs.net

    ---
    ■ Synchronet ■ Electronic Warfare BBS | telnet://ewbbs.synchro.net
  • From Starpilot@VERT/STARPI to Rastus on Mon Sep 26 10:54:33 2011
    Starpilot wrote:

    I'm using 10.4 Ubuntu and crontab to run
    scripts at timed intervals etc.
    Was not sure if I reboot or power outage
    will crontab start automatically
    or will I have to restart it.
    Starpilot/\James

    All you have to do is put your scripts in the
    right directory..
    /etc/cron.hourly /etc/cron.daily etc.... you
    don't even need to restart
    cron or anything.. of course you can still add
    items to your crontab if you
    need to. Cron starts at bootup and reloads
    it's configs as needed.
    --

    Nicholas Loch (Fat Rastus) | Electronic
    Warfare BBS
    telnet://ewbbs.synchro.net | http://
    www.ewbbs.net

    ---
    ■ Synchronet ■ Electronic Warfare BBS |
    telnet://ewbbs.synchro.net
    Thanks for the info.

    ---
    ■ Synchronet ■ Starpilots Hanger BBS
  • From swc@VERT/CHANG to Starpilot on Fri Sep 30 02:48:00 2011
    Starpilot wrote:

    I'm using 10.4 Ubuntu and crontab to run
    scripts at timed intervals etc.
    Was not sure if I reboot or power outage
    will crontab start automatically
    or will I have to restart it.
    Starpilot/\James

    All you have to do is put your scripts in the
    right directory..
    /etc/cron.hourly /etc/cron.daily etc.... you
    don't even need to restart
    cron or anything.. of course you can still add
    items to your crontab if you
    need to. Cron starts at bootup and reloads
    it's configs as needed.
    --

    Nicholas Loch (Fat Rastus) | Electronic
    Warfare BBS
    telnet://ewbbs.synchro.net | http://
    www.ewbbs.net

    ---
    ■ Synchronet ■ Electronic Warfare BBS |
    telnet://ewbbs.synchro.net
    Thanks for the info.

    ---
    ■ Synchronet ■ Starpilots Hanger BBS


    if you wanna run things at boot you can do

    @reboot < whatever >

    it'll run once at boot, that's it.

    swc

    bbs.39market.net

    ---
    ■ Synchronet ■ CHANG - 39market.net