cron to delete / replace file

Cerrado Publicado Aug 16, 2007 Pagado a la entrega
Cerrado Pagado a la entrega

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/[login to view URL]

and then

copy home/user/public_html/master/[login to view URL] to home/user/public_html/cmsfolder/[login to view URL]

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

Linux

Nº del proyecto: #168602

Sobre el proyecto

13 propuestas Proyecto remoto Activo Sep 17, 2007