Site5 - Built For Designers & Developers MENU

Cron job to unzip file on server at specified interval

[2 Grey Star Level]


I would like to create a CRON job which automatically unzips a file at a given location on our server at a particular time each day.

The file will be located at the same location, but will have a different name each time it is accessed. The change to the name will be an automatically added timestamp.

The .zip file contains an xml file and associated images which are then imported into a mysql database by a feed parser.

This is the first time I have had to create a CRON job so all help is much appreciated.

Thanks in advance.


Comments are closed.

Answer this Question

You must be Logged In to post an Answer.

Not a member yet? Sign Up Now »

Money Back Guarantees
Click to verify BBB accreditation and to see a BBB report.