Related issues I just ran into improving my script.
The RunAfterJob now reads (one line):
RunAfterJob = "/bin/sh -c \"echo '/usr/local/bin/glacier-cmd --logtostdout
upload Squirrel_backup %v \\\"%j (%l, since %s)\\\" ' | batch\""
Which results in these messages (two lines):
> 04-Oct 21:43 acor
That works, thanks for the quick reply!
Would be nice to have this mentioned in the docs, if it's there I
totally missed it.
Writing a real script is of course easy, it's just messy and harder to
see what's going on if I revisit this which may be years from now.
Wouter.
> To not mess with writi
On Thu, Oct 04, 2012 at 12:38:44PM +0800, Wouter van Marle wrote:
[...]
> RunAfterJob = "echo '/usr/local/bin/glacier-cmd --logtostdout upload
> Squirrel_backup %v' | batch"
>
> Running this command (replacing the %v with an actual file name of
> course) from the command line works fine. The proc
Hi all,
I'm trying to launch a runafterjob script to upload my just created
archive to another server.
As this can take long - a day or so, and other backup jobs are to be run
(I have three jobs: two backup jobs of separate parts of the system plus
the database backup), I intend to do this uploa