mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 09:58:46 +00:00
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