cleanup sync
This commit is contained in:
parent
51678eb618
commit
74aeedc681
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