cleanup sync
This commit is contained in:
parent
b02584407b
commit
d3d406a177
1 changed files with 64 additions and 63 deletions
|
@ -19,6 +19,7 @@ class Sync{
|
||||||
$pid = pcntl_fork();
|
$pid = pcntl_fork();
|
||||||
}
|
}
|
||||||
$pidfile = '/tmp/ams_cron_pid';
|
$pidfile = '/tmp/ams_cron_pid';
|
||||||
|
|
||||||
if(isset($pid)) {
|
if(isset($pid)) {
|
||||||
// We're the main process.
|
// We're the main process.
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue