...
Code Block |
---|
Here are some commands for inserting things into cron. There is a directory called /etc/cron.daily which where you can put scripts that will run once per day. For instance, you can put a controller script doResetDB.sh in that directory that runs resetDB.sh with the right arguments. Make sure to make it executable. You can control when the script will run by editing the line in /etc/crontab that says "run-parts /etc/cron.daily". I didn't look in any of your machines, but the ones I have are setup to run at 4:02 every morning. Controlling this behavior is as easy as moving the script in and out of the /etc/cron.daily directory. |
...
Transport of DB-snapshot file from RCF to carver
Code Block |
---|
Hi Jan,
In my home directory on carver, there is a script called doDownloads.sh. This script is what needs to
be run. Right now it runs on cvrsvc03. It sleeps for 24 hours, then runs a script called
downloadSnapshot.sh in the same location.
Best,
Matt
|
bbbb