On Thu, Oct 15, 2009 at 12:15 PM, Tino Schwarze <[email protected]> wrote:
> Maybe you could better use "status jobs" instead?
Thanks. That's definitely a superior idea. I used this logic to
determine if a job is running:
BackupPC_serverMesg status jobs|awk -F } '{print $2}'
If only trashClean is running, the above evaluates to ");" (without
quotes), which is the end of the status statement. If one or more
backup jobs are running, job text will appear. Therefore, I simply
wait for the expression to evaluate ");".
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/