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

Commit

Permalink
Fix error in sample config.
Browse files Browse the repository at this point in the history
  • Loading branch information
rammrain committed Jan 11, 2016
1 parent 93e4cbd commit 1e5dffb
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions config/cronModule.config.php.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<?php
return [
'phpPath' => 'php',
'scriptPath' => '/var/www/application/public/',
'jobs' => [
[
'command' => 'index.php application cron mail',
'schedule' => '*/5 * * * *'
'cronModule' => [
'phpPath' => 'php',
'scriptPath' => '/path/to/application/public/folder/',
'jobs' => [
[
'command' => 'index.php application cron do-job',
'schedule' => '* * * * *'
],
[
'command' => 'index.php application cron do-another-job',
'schedule' => '0 * * * *'
]
]
],

// timeout in seconds for the process, defaults to 600 seconds
'timeout' => 850
]
];

0 comments on commit 1e5dffb

Please sign in to comment.