Advertisement:

Author Topic: Cron delete old items  (Read 567 times)

naneri

  • Newbie
  • *
  • Posts: 28
Cron delete old items
« on: June 18, 2014, 07:37:13 pm »
Is there any way to perform cron jobs that will delete old items once a day and their resources (images)?

I would like to consider those that expired more than 2 weeks ago as old items. There is 'Delete' method in admin panel? but i dunno how to use it in order to delete all expired items.