projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add CTY-2704 changes
[spider.git]
/
perl
/
DXCron.pm
diff --git
a/perl/DXCron.pm
b/perl/DXCron.pm
index 2c02be53e4432c22def3c6ad28bfa83076a93a9f..343ba88d7d33218863798c7874c8a2d37e75340b 100644
(file)
--- a/
perl/DXCron.pm
+++ b/
perl/DXCron.pm
@@
-219,7
+219,7
@@
sub last_connect
{
my $call = uc shift;
return $main::systime if DXChannel::get($call);
{
my $call = uc shift;
return $main::systime if DXChannel::get($call);
- my $user = DXUser
->
get($call);
+ my $user = DXUser
::
get($call);
return $user ? $user->lastin : 0;
}
return $user ? $user->lastin : 0;
}
@@
-293,5
+293,9
@@
sub run_cmd
dbg("cmd out: $_") if isdbg('cron');
}
}
dbg("cmd out: $_") if isdbg('cron');
}
}
+
+# for fallback from mojo branch
+sub spawn_cmd {goto &run_cmd};
+
1;
__END__
1;
__END__