No such thing as a small change | |
PerlMonks |
remove crontab entriesby nmete (Novice) |
on Jul 22, 2004 at 20:05 UTC ( [id://376706]=perlquestion: print w/replies, xml ) | Need Help?? |
nmete has asked for the wisdom of the Perl Monks concerning the following question:
I could not find any methods in Schedule::Cron to remove one particular entry. I don't want to remove all entries, (clean_timetable() does so) but after finishing my scheduled job i want to remove the corresponding job. this means I want to run the scheduled job only once. In unix 'at' command is used, istead of cron, for this purpose. In perl, Schedule::At module allows to run some unix commands but seems not supporting subroutine calls. is there any way to subroutine calls with Schedule::At or is there any way to run each entry once with Schedule::Cron?
Back to
Seekers of Perl Wisdom
|
|