Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #42 from Klantinteractie-Servicesysteem/feature/cr…
Browse files Browse the repository at this point in the history
…onjob-crontab-1min

crontab from 5min default to 1min
  • Loading branch information
WilcoLouwerse authored Jan 20, 2023
2 parents 55348ef + f409ce7 commit 95202cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Service/InstallationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,9 @@ public function checkDataConsistency(){
{
$cronjob = new Cronjob();
$cronjob->setName('Kiss');
$cronjob->setDescription("This cronjob fires all the kiss actions every 5 minutes");
$cronjob->setDescription("This cronjob fires all the kiss actions every minute");
$cronjob->setThrows(['kiss.default.listens']);
$cronjob->setCrontab('*/1 * * * *');

$this->entityManager->persist($cronjob);

Expand Down

0 comments on commit 95202cb

Please sign in to comment.