Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: A perl daemon

by clinton (Priest)
on Jun 08, 2006 at 10:55 UTC ( [id://554254]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #===============================================
    # Daemon module - you need to implement your own database calls
    ...
    #===================================
    
    1
    
  2. or download this
    #===============================================
    # MySQL table : jobs
    ...
    | last_run | timestamp            | YES  |     | 0000-00-00 00:00:00 |
    +       |
    | attempts | smallint(5) unsigned |      |     | 0                   |
    +       |
    +----------+----------------------+------+-----+---------------------+
    +-------+
    
  3. or download this
    #===============================================
    # Cron config file - in YAML
    ...
            - My::Cron::Job2
            - do_queue
    
  4. or download this
    #===============================================
    # Script for starting/stopping daemon
    ...
    USAGE
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://554254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-19 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found