Seeking: The Perfect Cron - Portable

This is a discussion on Seeking: The Perfect Cron - Portable ; Is there a flavor of cron that has the following capabilities: 1. Rescheduling an event to run "now" if that event was missed because the portable device was currently off/sleeping/hibernation? 2. Rescheduling an event that was due to run "now" ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Seeking: The Perfect Cron

  1. Seeking: The Perfect Cron

    Is there a flavor of cron that has the following capabilities:

    1. Rescheduling an event to run "now" if that event was missed because
    the portable device was currently off/sleeping/hibernation?

    2. Rescheduling an event that was due to run "now" for "a specific
    interval from now" if the portable device is currently on battery power
    rather than wall power?

    3. Rescheduling an event that was due to run "now" for "a specific
    interval from now" if the network is not currently available?

    Elf

  2. Re: Seeking: The Perfect Cron

    "Elf M. Sternberg" writes:

    >Is there a flavor of cron that has the following capabilities:


    >1. Rescheduling an event to run "now" if that event was missed because
    >the portable device was currently off/sleeping/hibernation?


    anacron.

    >2. Rescheduling an event that was due to run "now" for "a specific
    >interval from now" if the portable device is currently on battery power
    >rather than wall power?


    NOt sure. Probably better if you put in a script which tests for battery
    and reschedules itself ( using at) for a later time if on battery. Could
    also keep track of how often it has been called so an important job does
    not get put off forever.


    >3. Rescheduling an event that was due to run "now" for "a specific
    >interval from now" if the network is not currently available?


    Same as 2.



+ Reply to Thread