โฑ๏ธ Managing Cron Jobs

WC Studio makes it easy to create and manage cron jobs directly from your dashboard without server-level access.

๐Ÿ“ Accessing Cron Jobs

Go to: WC Studio โ†’ Stores โ†’ Select a Store โ†’ Advanced โ†’ Crons

๐Ÿงพ Creating a New Cron Job

You can create a cron job by specifying the command you want to run and selecting how frequently it should be executed.

โœ… Required Fields

FieldDescription
CommandThe shell command to be executed. Example:
cd /path/to/your/project && php artisan schedule:run
FrequencyChoose how often this task should run:
- Minutely
- Hourly
- Daily
- Weekly
- Monthly

๐Ÿ”ง Steps to Add a Cron

  1. Enter your command in the Command field.
  2. Select a frequency using the Frequency dropdown.
  3. Click Save Cron to schedule the task.
๐Ÿ’ก Pro Tip: Use absolute paths in your command for more reliability.

๐Ÿ“‹ Cron Jobs Table

After saving, your cron jobs will appear in a table with the following details:
ColumnDescription
SlSerial number of the cron entry
CommandThe actual shell command being run
FrequencySelected interval (Minutely, Hourly, etc.)
ScheduleTime of next execution
StatusActive / Inactive
ActionOptions to Edit, Delete, or Disable the cron job

๐Ÿงช Example Commands

๐Ÿ” Minutely Cron Example (Laravel Scheduler)

cd /home/user/mystore && php artisan schedule:run