Skip to content

Commit

Permalink
Fix for previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nzxl101 committed Jan 24, 2025
1 parent f8cc20f commit b06f19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/app/www/public/crons/pulls.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
if ($containerSettings['autoRestart'] && $containerState) {
try {
$cron = Cron\CronExpression::factory($containerSettings['autoRestartFrequency']);
if (!$cron->isDue($startStamp)) {
if ($cron->isDue($startStamp)) {
$msg = 'Auto Restarting: ' . $containerState['Names'];
logger(CRON_PULLS_LOG, $msg);
echo date('c') . ' ' . $msg . "\n";
Expand Down

0 comments on commit b06f19c

Please sign in to comment.