Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: remove crontab entries

by Jonathan (Curate)
on Jul 23, 2004 at 15:16 UTC ( [id://376902]=note: print w/replies, xml ) Need Help??


in reply to remove crontab entries

Sorry, but I don't really understand the problem. Schedule::At looks like (I've never used it) it is process orientated so if you wanted to call a subroutine using it you'll be better off wrapping your subroutine into a process or rolling your own simple scheduler wrapper. For anything more complicated I suggest POE

Replies are listed 'Best First'.
Re: remove crontab entries
by nmete (Novice) on Jul 26, 2004 at 20:30 UTC
    To make it more clear:

    To my understandig with Schedule:At I can only run some system commands at a particular time. or I can run some script files.
    But it does not seem sophisticated enough that I can call any function of a script (ie: perl). I need to call function because I need to pass parameters (entered by user via web interface)

    Schedule::Cron does what I actually want. and I have a running code with cron.. but I want to run my scheduled jobs only once. this is the problem with cron.
    so if I say $cron->add_entry("00 10 26 07 *") I want it to run at 10am, 26th of June 2004 but not at the same time of 2005.

    I am not sure if this is the already case.. If so, not problem anymore

    Nurcan

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-03-29 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found