[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] help - making a cron job to auto delete files, earlier than a specific date



Wow what a subject line...

Not sure if this is off topic or not, but hopefully you wonderful people
will help me ;-)

I need to create a daily cron job that will delete all files in a specific
directory that are 15 days or older than the current date.

In detail if you want - a client will be using a page with a CGI to upload
PDF files to the server and use a mailing list to link people to the URL's.
This will happen every day and I want to auto delete anything that is 15
days or older than the current date, so I don't have to delete them
manually, and the client has no chance to mess anything up. Thanks in
advance.



regards,

Todd Kirk