Skip to content

Commit

Permalink
Make the logged line 'finished' a bit more informative and easier to …
Browse files Browse the repository at this point in the history
…identify.
  • Loading branch information
helmo committed Jul 9, 2020
1 parent 1c85a6c commit d822230
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion server/cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,6 @@
@unlink($conf['temppath'] . $conf['fs_div'] . '.ispconfig_cron_lock');
$app->log('Remove Lock: ' . $conf['temppath'] . $conf['fs_div'] . '.ispconfig_cron_lock', LOGLEVEL_DEBUG);

if($conf['log_priority'] <= LOGLEVEL_DEBUG) die("finished.\n");
if($conf['log_priority'] <= LOGLEVEL_DEBUG) die("finished cron run.");

?>
2 changes: 1 addition & 1 deletion server/cron_debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@
$cronjob = new $class_name();
$cronjob->run(true);

die("finished.\n");
die("finished cron debug.\n");

?>
2 changes: 1 addition & 1 deletion server/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,5 @@
$app->log('Remove Lock: ' . $conf['temppath'] . $conf['fs_div'] . '.ispconfig_lock', LOGLEVEL_DEBUG);


die("finished.\n");
die("finished server.php.\n");
?>

0 comments on commit d822230

Please sign in to comment.