Log in

View Full Version : Is running a cron job command will delete images too?



qwikad.com
08-16-2013, 09:05 AM
I know for sure that when I delete unwanted ads with the regular "delete this ad" option, it removes the text, but the images associated with the ads remain in the image folder intact.

Does anyone know if running a cron job in Linux to delete unwanted ads will also delete the images associated with those ads?


Thanks.

Beverleyh
08-16-2013, 10:23 AM
It depends on the script/command you're running through cron.

If you post what you have, it will be a easier for us to advise.

Tip: if you're running a delete command through a php script, try using absolute paths in your php script.

qwikad.com
08-16-2013, 02:02 PM
Actually, as it happens often to me, I checked the cleanup.php file and sure enough I saw that it does clean up images too.