Jump to content

auto removing old files


bladechob

Recommended Posts

I guess you've got to weight up the advantages/pitfalls of each option

1) Cron job

2) Per page load (posting page)

 

As i see it, the 1st option will mean it's done regularly, but you need to find a schedule that suits you. Probably daily (during the early hours) would be best, and this way your data is updated on a daily basis, meaning it's up-to-date.

The 2nd option on the other hand means higher load on your server (doing the check every time the page is "posting"), with possibly unnecessary actions (deleting nothing). If it's not used often it won't affect the process load, but you may still be performing unnecessary actions.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.