I am bit clueless where to start. I am looking for a solution
a) copy a particular file from folder A/ to B/ @ fix day/time b) copy a random file from folder A/ to B/ @ fix day/time
Any hint how to start would be really appriciated
CI
I am bit clueless where to start. I am looking for a solution
a) copy a particular file from folder A/ to B/ @ fix day/time b) copy a random file from folder A/ to B/ @ fix day/time
Any hint how to start would be really appriciated
CI
Copyright © 2021 Jogjafile Inc.
Copying a specific file from A to B can be achieved by appending a line to your crontab depending on the time you want it to run. The general syntax will be:
In your case the command to be executed will be like:
For eg.: If you want to copy the file at 3:35 PM(15:35) on 20th of November then your command will be like
Check out this wikipedia link for an excellent explanation on setting up cron jobs.