Copy files with cron
Hi
I am trying to figure out how to copy all the files and directories in one directory to another directory, over writing all of them. I want to set this up in cron, but all my attempts have failed with the cp command. I can get other things to work in cron, but not this.
It has been a very long time since I had to do this and I can not remember how to use the cp command to do the copying.
Once this is solved, my Next problem is to load a database from a sql file with phpmyadmin and cron.
Thanks in advance.
Greg
|