]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Worker.php
We now use the regular probing function
[friendica.git] / src / Core / Worker.php
index 1de4d3b953414319548ac13ffdbad3f1eb906deb..9dd973728dcbfb6c8256883d538c624e62b50855 100644 (file)
@@ -1011,7 +1011,7 @@ class Worker
        {
                $command = 'bin/worker.php';
 
-               $args = [ 'cron' => $do_cron ];
+               $args = ['no_cron' => !$do_cron];
 
                get_app()->proc_run($command, $args);