Cron Job through Perl

Discussion in 'Perl Misc' started by Bob Anastasia, Jun 26, 2006.

  1. Hello,
    I am looking to try to add, edit, and view cron jobs through a perl
    script. does anyone have a way to do so. I looked at Schedule::Cron but
    it seems like it is more for setting up crons in specific sub routines
    in itself instead of setting up actual cron jobs. (unless i
    misunderstood it) in which case if anyone had previous experience in
    Schedule::Cron then could they give me an example of how to
    add/edit/view through that script.


    thank you
    Bob Anastasia, Jun 26, 2006
    #1
    1. Advertising

  2. Bob Anastasia

    Ted Zlatanov Guest

    On 26 Jun 2006, wrote:

    > I am looking to try to add, edit, and view cron jobs through a perl
    > script. does anyone have a way to do so. I looked at Schedule::Cron but
    > it seems like it is more for setting up crons in specific sub routines
    > in itself instead of setting up actual cron jobs. (unless i
    > misunderstood it) in which case if anyone had previous experience in
    > Schedule::Cron then could they give me an example of how to
    > add/edit/view through that script.


    I don't know Schedule::Cron myself, but take a look at cfperl
    http://lifelogs.com/cfperl/ - it implements a Parse::RecDescent parser
    to intrepret words such as "monthly" as cron entries. Here's an
    example:

    weekly on Monday,Tuesday at 2; on Tuesday,Friday at 8,3; on Thursday at 20,22 do as cftest /usr/bin/checkquotas

    Hope this helps
    Ted
    Ted Zlatanov, Jun 26, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Banks

    Equiv of a CRON job?

    Andrew Banks, Apr 8, 2004, in forum: ASP .Net
    Replies:
    8
    Views:
    15,184
    PeteJ
    Jul 30, 2012
  2. siddhartha mulpuru

    Cron Job manipulation through Web Page

    siddhartha mulpuru, Aug 11, 2004, in forum: Perl Misc
    Replies:
    1
    Views:
    121
    Clyde Ingram
    Aug 11, 2004
  3. goooo

    Cron Job & Perl

    goooo, Mar 21, 2005, in forum: Perl Misc
    Replies:
    2
    Views:
    154
    Joe Smith
    Mar 22, 2005
  4. Bill H

    Ftp via Perl cron job

    Bill H, Sep 26, 2006, in forum: Perl Misc
    Replies:
    4
    Views:
    182
    J. Gleixner
    Sep 28, 2006
  5. Bucker

    Runs Fine In Perl :: Not As Cron Job

    Bucker, Jan 15, 2007, in forum: Perl Misc
    Replies:
    6
    Views:
    173
    -berlin.de
    Jan 17, 2007
Loading...

Share This Page