Managing Cron Scheduler

From osCommerce Wiki
Jump to navigation Jump to search

To automate website processes by enabling the creation and management of cron jobs, follow these step-by-step instructions:

Step 1

Log in to the admin area of your website.

Step 2

Go to the App Shop and Store tabs.

Step 3

1. Use the quick search feature to find "Cron Scheduler module".

2. Install the module on your website.

Cron Sch Install 1.jpg


Step 4

  1. Go to the Modules and Extensions tabs.
  2. Locate the "Cron Scheduler" module.
  3. Click Edit to access its settings.
Cron Sch Edit 2.jpg


Step 5

In the Settings section:

  • Choose True to enable the module.
  • Specify the PHP executable file location.
  • Specify the Path to executable wget location.
  • Click Update to save your customization.
Cron Sch Sett 3.jpg


Managing Cron Jobs

After customizing your cron scheduler, click on the Cron Manager button to manage cron tasks.

Cron Sch Cron Manager button 4.jpg

On the Cron Manager page, you can add standard or expert jobs. You can also edit, copy, or delete existing tasks by clicking on the corresponding buttons.

Cron Sch Cron Manager task list 5.jpg


Adding or Editing a Cron Task

1. Select the required task from the list and click Edit.

2. Under the Settings tab:

  • Enable or disable the task.
  • Add a name and description for the task.
  • Set its schedule.
Cron Sch Settings tab 6.jpg


3. If you enable the Expert Mode, you can configure additional settings:

Command, and Arguments (add as many arguments fields as needed by clicking the Add more button).

Cron Sch Expert Mode 8.jpg


Advanced Settings

1. Under the Advanced tab:

  • Indicate the maximum execution time.
  • Select options for file output: Rewrite, Append, or None.
  • Indicate an email address for output sending.
  • Set the sort order.

2. Click Save to complete your customization.

Cron Sch Advanced tab 7.jpg