Skip to content

Commit

Permalink
#346 Docker cron
Browse files Browse the repository at this point in the history
  • Loading branch information
gruberroland committed Oct 19, 2024
1 parent 0320ecd commit 1411a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lam/lib/cronRunner.inc
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ include_once(__DIR__ . "/config.inc");
include_once(__DIR__ . "/ldap.inc");
/** access to modules */
include_once(__DIR__ . "/modules.inc");
/** Access to database */
include_once(__DIR__ . "/database.inc");

/**
* Executes cron jobs.
Expand Down Expand Up @@ -118,6 +116,8 @@ class CronRunner {
* @throws LAMException error running actions
*/
public function runSingleServerProfileActions(string $serverProfileName): void {
/** Access to database */
include_once(__DIR__ . "/database.inc");
$serverProfilePersistenceManager = new ServerProfilePersistenceManager();
$this->validateServerProfileName($serverProfileName, $serverProfilePersistenceManager);
if ($this->isDryRun) {
Expand Down

0 comments on commit 1411a8a

Please sign in to comment.