Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[Bacula\-users\]\s+Runafterjob\s+issue\s*$/: 5 ]

Total 5 documents matching your query.

1. [Bacula-users] Runafterjob issue (score: 1)
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
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2012-10/msg00042.html (12,701 bytes)

2. Re: [Bacula-users] Runafterjob issue (score: 1)
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
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2012-10/msg00043.html (13,292 bytes)

3. Re: [Bacula-users] Runafterjob issue (score: 1)
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
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2012-10/msg00045.html (11,964 bytes)

4. Re: [Bacula-users] Runafterjob issue (score: 1)
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
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2012-10/msg00046.html (13,024 bytes)

5. Re: [Bacula-users] Runafterjob issue (score: 1)
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 (
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2012-10/msg00047.html (15,138 bytes)


This search system is powered by Namazu