Author: Wouter van Marle <wouter AT squirrel-systems DOT com>
Date: Thu, 04 Oct 2012 12:38:44 +0800
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
Author: Konstantin Khomoutov <flatworm AT users.sourceforge DOT net>
Date: Thu, 4 Oct 2012 11:49:01 +0400
[...] This is a typical problem: the string to execute is not passed through any shell but rather executed directly, so in your case the OS probably finds /bin/echo and passes it three arguments, "/u
Author: Wouter van Marle <wouter AT squirrel-systems DOT com>
Date: Thu, 04 Oct 2012 20:44:33 +0800
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
Author: Konstantin Khomoutov <flatworm AT users.sourceforge DOT net>
Date: Thu, 4 Oct 2012 17:40:58 +0400
http://bit.ly/O7z6SU reads this: "In addition, the command string is parsed then fed to the OS, which means that the path will be searched to execute your specified command, but there is no shell int
Author: Wouter van Marle <wouter AT squirrel-systems DOT com>
Date: Thu, 04 Oct 2012 21:51:22 +0800
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 (