Changeset 247


Ignore:
Timestamp:
Oct 26, 2009, 3:48:52 PM (11 years ago)
Author:
zerodeux
Message:

Unquote command when logged

Location:
jobq
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • jobq/debian/changelog

    r246 r247  
     1jobq (0.5-1) stable; urgency=low
     2
     3  * Upstream update.
     4
     5 -- Vincent CARON <vcaron@bearstech.com>  Mon, 26 Oct 2009 15:48:09 +0100
     6
     7jobq (0.5) stable; urgency=low
     8
     9  * Upstream update.
     10
     11 -- Vincent CARON <vcaron@bearstech.com>  Mon, 26 Oct 2009 15:38:13 +0100
     12
    113jobq (0.4-1) stable; urgency=low
    214
  • jobq/jobq

    r246 r247  
    7373
    7474            # Run job in a subshell, capture stdin+stderr, send to syslog
     75            # FIXME: should support mail output like cron
    7576            export jobt todo
    7677            (
    7778                t0=`date +%s`
    7879                late=$(( $t0 - $jobt ))
    79                 echo "start (delay:$late sec, todo:$todo): $cmd"
     80                echo -n "start (delay:$late sec, todo:$todo): "
     81                echo "$cmd" | sed 's/\\\([^\]\)/\1/g'
    8082                eval $cmd 2>&1
    8183                ret=$?
Note: See TracChangeset for help on using the changeset viewer.