My litle adds

  • - 2009-01-07

    I added support SQL columns "activ" to do Jobs readable and chandable, but inactiv.
    Please, support this functioin in your future versions. It's needed for hosting contol panels.

    struct Jobs {

    int id;

    int lastrun, nextrun;

    char *sec, *min, *hour, *day, *mon, *dow;

    int andor;

    int uid, gid, nic;

    char *cmd, *name;

    int runonce;

    int activ; /* <--- */

    Jobs *n;


    nw->runonce = atoi(row[15]);
    I added
    nw->activ = atoi(row[16]);

    And I change
    if ((tm >= s->nextrun) && (s->lastrun != tm))
    if ((tm >= s->nextrun) && (s->lastrun != tm) && (s->activ == 1))

    P/S Fank you for your job. It's exclusive project!

    • himdel

      himdel - 2009-01-07

      Hey, thank you very much,
      you're right, that is quite useful, it will be in the next version (with some cosmetic changes if you don't mind (+ you might be happy to know, I'm putting you in CREDITS as the first person who's actually sent me a patch ;))).

      It would appear people are actually interested in this project so I will spend some time on it and hopefully get a more stable release out by March.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks