Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

by Samn (Monk)
on Aug 10, 2003 at 02:50 UTC ( [id://282543]=note: print w/replies, xml ) Need Help??


in reply to Re: Scheduling without cron or modules
in thread [untitled node, ID 282518]

Replies are listed 'Best First'.
Re: Re: Re: Scheduling without cron or modules
by vroom (His Eminence) on Aug 10, 2003 at 03:05 UTC
    Schedule::Cron works very nicely for these types of things. Even if you don't want to use it looking at the implementation might give you a good starting point.
Re: Re: Re: Scheduling without cron or modules
by The Mad Hatter (Priest) on Aug 10, 2003 at 04:51 UTC
    If it is going to be pre-packaged anyway, use whatever modules you want (such as the excellant Schedule::Cron) and just be sure to include them in the package you distribute. That isn't hard at all (as long as they are pure Perl). Just update the versions in your package when you release updates to your core engine, and allow for advanced users to specify that the system installed versions of the required modules be used instead. Simple.
Re: Re: Re: Scheduling without cron or modules
by graff (Chancellor) on Aug 10, 2003 at 05:10 UTC
    vroom makes a good point. If you're going to be packaging up your goodies for the less technically inclined, it shouldn't be all that hard to embed a good cron module into your package. The same goes for any module that isn't part of the perl core, but would save you development time and offer a well-tested solution for issues that might otherwise be tricky for you or even risky for users of your package.

    Of course, when the CPAN module you embed or adapt into your package undergoes an important fix, you'll need to update your package accordingly. This could also be a very good feature for customers who are not "CPAN-enabled" -- they need only rely on you to make sure that their installation takes care of all that bug-fix/web-security stuff, so long as they just keep up to date on this one complete package that they get from you.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-03-29 13:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found