cron to delete / replace file

Closed Posted Aug 16, 2007 Paid on delivery
Closed Paid on delivery

Need a simple cron job and file with linux commands that will delete a file from a folder and replace it with a master file from the same hosting account every 30 minutes.

It is to replace a demo CMS file ..so that I can delete clients demo test inputs back to the master sales data

i.e. delete home/user/public_html/cmsfolder/[url removed, login to view]

and then

copy home/user/public_html/master/[url removed, login to view] to home/user/public_html/cmsfolder/[url removed, login to view]

If you can supply the cron info and file it runs ... I can change the file names and path as required

Linux

Project ID: #168602

About the project

15 proposals Remote project Active Sep 17, 2007