cron to delete / replace file

已关闭 已发布的 Aug 16, 2007 货到付款
已关闭 货到付款

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

项目ID: #168602

关于项目

15个方案 远程项目 活跃的Sep 17, 2007