Cron Job Output

Discussion in 'Python' started by baytes, Dec 2, 2009.

  1. baytes

    baytes Guest

    I have cron checking services every 5-10 minutes, and if a service
    goes up or down it writes to a file, Im trying to write a script that
    will check that file for updates and print the results. this will tie
    into a module for phenny where the bot will be able to print the
    contents of the updated file to the channel.

    Im extremely new to python and any point in the right direction or
    tutorials on the subject would be greatly appreicated.
    baytes, Dec 2, 2009
    #1
    1. Advertising

  2. baytes

    LoD MoD Guest

    You might try something like this http://code.activestate.com/recipes/157035/


    On Wed, Dec 2, 2009 at 3:05 PM, baytes <> wrote:
    > I have cron checking services every 5-10 minutes, and if a service
    > goes up or down it writes to a file, Im trying to write a script that
    > will check that file for updates and print the results. this will tie
    > into a module for phenny where the bot will be able to print the
    > contents of the updated file to the channel.
    >
    > Im extremely new to python and any point in the right direction or
    > tutorials on the subject would be greatly appreicated.
    > --
    > http://mail.python.org/mailman/listinfo/python-list
    >
    LoD MoD, Dec 3, 2009
    #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. Nikola Skoric

    cron job times out

    Nikola Skoric, Nov 24, 2006, in forum: Python
    Replies:
    0
    Views:
    293
    Nikola Skoric
    Nov 24, 2006
  3. Arne Vajhøj

    Re: cron job or EJB timer?

    Arne Vajhøj, Sep 7, 2008, in forum: Java
    Replies:
    1
    Views:
    647
    Robert Klemme
    Sep 13, 2008
  4. Arne Vajhøj

    Re: cron job or EJB timer?

    Arne Vajhøj, Sep 6, 2008, in forum: Java
    Replies:
    0
    Views:
    440
    Arne Vajhøj
    Sep 6, 2008
  5. Dev_SH
    Replies:
    0
    Views:
    338
    Dev_SH
    Jan 28, 2011
Loading...

Share This Page