Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 906 Bytes

cron-configuration.md

File metadata and controls

25 lines (19 loc) · 906 Bytes

cron.sh vs cron.php vs scheduler_cron.sh

Recommendet frequency

always vs default

Not in webserver context (no wget php)

How to correctly configure cron? Note: Correct user! Also check: http://www.magentocommerce.com/knowledge-base/entry/ce18-and-ee113-installing#install-cron NOT: http://stackoverflow.com/questions/5644037/setting-up-cron-job-in-magento?rq=1 Add note to not run this via wget

  • cron is not supposed to run in web context
    • different php settings, max_execution time, memory_limit (and don't increase these globally only to satisfy cron.php)

Script parameters:

scheduler_cron.sh takes following parameters:

  • --php /path/to/custom/php/bin for setting custom path to PHP binary
  • --mode default mode is default or always
  • --includeGroups group,group2 see more about groups here
  • --excludeGroups group,group2
  • --includeJobs
  • --excludeJobs