projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix crontab quoting issue, add CTY-3117
[spider.git]
/
perl
/
DXCron.pm
diff --git
a/perl/DXCron.pm
b/perl/DXCron.pm
index 343ba88d7d33218863798c7874c8a2d37e75340b..874a3852b39539128b655cbb178fe5fe25781c76 100644
(file)
--- a/
perl/DXCron.pm
+++ b/
perl/DXCron.pm
@@
-148,7
+148,7
@@
sub process
if ($cron->{cmd}) {
dbg("cron: $min $hour $mday $mon $wday -> doing '$cron->{cmd}'") if isdbg('cron');
if ($cron->{cmd}) {
dbg("cron: $min $hour $mday $mon $wday -> doing '$cron->{cmd}'") if isdbg('cron');
- eval
"$cron->{cmd}"
;
+ eval
$cron->{cmd}
;
dbg("cron: cmd error $@") if $@ && isdbg('cron');
}
}
dbg("cron: cmd error $@") if $@ && isdbg('cron');
}
}