The following module was proposed for inclusion in the Module List: modid: Config::Crontab DSLIP: RdpOp description: OO read/write Vixie-compatible crontab files userid: SCOTTW (Scott Wiersdorf) chapterid: 12 (Opt_Arg_Param_Proc) communities: I could setup a mailing list on my server if people wanted it.
similar: No related modules (i.e., no other modules parse and write crontab files, afaik). The three peripherally related modules are Set::Crontab (works with crontab-style date lists), Schedule::Cron (replacement for cron(1) in Perl), Schedule::Match (another crontab-style datetime parser). rationale: There don't seem to be any crontab parsers out there; we have a couple of generic config file parsers, but none dealing specifically with Vixie-style crontab files. Config::Crontab will invoke your crontab(1) command to get the current crontab for this uid and store it in an object. The object has many methods for changing the cron schedule and command parts of the crontab entry. You may also work on a separate file: my $ct = new Config::Crontab( -file => 'mytmpfile' ); which you could load later via crontab(1). This module is compatible with Vixie cron and subsets (e.g., BSD, SysV style crontab entry formats). enteredby: SCOTTW (Scott Wiersdorf) enteredon: Fri Jul 11 21:10:47 2003 GMT The resulting entry would be: Config:: ::Crontab RdpOp OO read/write Vixie-compatible crontab files SCOTTW Thanks for registering, -- The PAUSE PS: The following links are only valid for module list maintainers: Registration form with editing capabilities: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=3f200000_178796b91240369a&SUBMIT_pause99_add_mod_preview=1 Immediate (one click) registration: https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=3f200000_178796b91240369a&SUBMIT_pause99_add_mod_insertit=1