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

Re: CGI daily 'cleanup' task

by rob_au (Abbot)
on Aug 28, 2002 at 13:37 UTC ( #193449=note: print w/replies, xml ) Need Help??


in reply to CGI daily 'cleanup' task

This discussion has been brought up before on this site with discussions focusing on the merits of separate 'clean-up' scripts running as crontab or scheduler tasks - See unlinking old files for one such discussion.

However, depending upon your CGI::Application application, you may want to take advantage of the teardown method which is specifically designed for final clean-up tasks - This method is described in my review of the CGI::Application module here. It may be worth investigating the usage of this method in combination with a persistent information store like Cache::Cache or locking mechanism for implementation of such scheduled clean-up tasks.

 

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2022-08-14 21:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?