Cron jobs
The Cron jobs tool lets you schedule commands to run on a timer — from a quick "every minute" task to the Laravel scheduler.
Creating a job
Each job has:
- Name — a label so you can find it later.
- Schedule — a 5- or 6-field cron expression, or a descriptor like
@daily,@hourly, or@every 5m. - Command — what to run.
- Working directory (optional) — where the command runs.
- PHP version override (optional) — pin a specific PHP version for this job.
Bind a job to a project
Bind a job to a project to inherit that project's working directory and PHP version automatically, so you don't have to set them by hand. See Dev server & queue for related per-project tasks.
Background mode
By default a job runs in-process — only while the LaraEnv app is open.
Turn on Background mode to register the job with the Windows Task Scheduler. The job then runs even when LaraEnv is closed.
Run history
Every job keeps a run history:
- Last run time
- Status —
ok,error, orrunning - Captured output — truncated to roughly 8 KB
- Error — if the run failed
Use Run now to trigger a job immediately, and Enable/Disable to pause a job without deleting it.
Presets and templates
Quick templates get you started fast:
- Every minute
- Every 5 minutes
- Hourly
- Daily at 03:00
- The Laravel scheduler (
php artisan schedule:run)
Laravel scheduler example
To drive Laravel's scheduler, run php artisan schedule:run every minute:
* * * * * php artisan schedule:run
Bind the job to your Laravel project so it inherits the correct working directory and PHP version.
Use the project filter to show only the jobs that belong to a given project.