Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: remove crontab entries

by Jonathan (Curate)
on Jul 23, 2004 at 15:16 UTC ( #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


Comment on Re: remove crontab entries
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
Node Status?
node history
Node Type: note [id://376902]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2014-07-31 18:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (250 votes), past polls