liebigCron.php 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. // * * * * * /usr/bin/php /var/www/laravel/artisan cron:run
  3. return array(
  4. // Interval defines the time in minutes between two run method calls - in other words, the time between the Cron route or command will be called
  5. 'runInterval' => 1,
  6. // Should the Laravel integrated logger handle the logging
  7. 'laravelLogging' => true,
  8. // Enable or disable database logging
  9. 'databaseLogging' => false,
  10. // Enable or disable logging error jobs only
  11. 'logOnlyErrorJobsToDatabase' => true,
  12. // Delte old database entries after how many hours - if this value is set to 0, no entries will be deleted
  13. 'deleteDatabaseEntriesAfter' => 240,
  14. // Prevent job overlapping - if Cron is still running it could not be started a second time
  15. 'preventOverlapping' => true,
  16. // Enable or disable the check if the current Cron run is in time
  17. 'inTimeCheck' => true,
  18. // Cron application key for securing the integrated Cron run route - if the value is empty, the route is disabled
  19. 'cronKey' => env('CRON_KEY','yunshop')
  20. );