How7oHow7o
  • Home
  • Tools
    • All Tools
    • Image Tools
    • Text & String Tools
    • Video Tools
    • Developer Tools
    • PDF Tools
    • Calculators & More
  • Prank Screens
  • Learn
  • Blog
  • Contact
Reading: How to Check if Laravel Scheduler Is Running (Cron + Logs)
Share
Notification Show More
Font ResizerAa
How7oHow7o
Font ResizerAa
  • OS
Search
  • Home
  • Tools
    • All Tools
    • Image Tools
    • Text & String Tools
    • Video Tools
    • Developer Tools
    • PDF Tools
    • Calculators & More
  • Prank Screens
  • Learn
  • Blog
  • Contact
Follow US
© 2024–2026 How7o. All rights reserved.
How7o > Free Laravel, PHP, WordPress & Server Tutorials > Web Development > How to Check if Laravel Scheduler Is Running (Cron + Logs)
Web Development

How to Check if Laravel Scheduler Is Running (Cron + Logs)

how7o
By how7o
Last updated: January 13, 2026
6 Min Read
Check if Laravel scheduler is running (cron + php artisan schedule:run)
SHARE

I ran into this when a scheduled job (email + cleanup) simply stopped running on one of my Laravel sites. The weird part was: I had already added a cron job in cPanel, so I assumed the scheduler was fine. But the tasks still didn’t fire.

Contents
  • How the Laravel scheduler works (simple explanation)
  • Step 1: Verify your cron job is correct (cPanel + Linux examples)
    • Example cron (recommended format)
  • Step 2: Run the scheduler manually (quickest confirmation)
  • Step 3: Check what Laravel thinks is scheduled (optional but helpful)
  • Step 4: Add a “heartbeat” log to prove the scheduler is executing
  • Step 5: If manual works but cron doesn’t — here are the usual fixes
  • If the scheduler runs but your real task still doesn’t
  • Final checklist

If you’re in the same situation and want to check if Laravel scheduler is running, the fastest approach is to test it from two angles:

  • Server side: is cron actually triggering Laravel every minute?
  • App side: when Laravel runs, does it execute anything and write logs?

How the Laravel scheduler works (simple explanation)

Laravel’s scheduler does not “run by itself”. Your server needs a cron job that runs once per minute. That cron triggers Laravel, and Laravel checks which scheduled tasks are due at that moment.

So if scheduled tasks aren’t firing, it’s almost always one of these:

  • The cron job isn’t running (or is running under the wrong user).
  • The cron runs, but it doesn’t reach your Laravel project (wrong path / wrong PHP binary).
  • Laravel runs, but nothing is due / tasks fail / logs aren’t being written.

Step 1: Verify your cron job is correct (cPanel + Linux examples)

The correct idea is: run php artisan schedule:run every minute from the project directory.

Example cron (recommended format)

* * * * * cd /path/to/your/laravel && php artisan schedule:run >> /dev/null 2>&1

On cPanel/shared hosting, I always switch to full paths (this avoids 90% of “it works in terminal but not in cron” problems). Example:

* * * * * cd /home/USERNAME/public_html/yourapp && /usr/local/bin/php artisan schedule:run >> /dev/null 2>&1

If you don’t know your PHP path, run this inside the same account/user:

which php
php -v

Then use that full PHP path in the cron entry.

Step 2: Run the scheduler manually (quickest confirmation)

This is the fastest way to confirm Laravel can execute your scheduled tasks at all. From your Laravel project root:

php artisan schedule:run

If you want more detail (what ran, what didn’t), run it in verbose mode:

php artisan schedule:run -v

If this manual command triggers your tasks, your Laravel side is mostly fine — the problem is usually cron (wrong path, wrong user, wrong PHP).

Step 3: Check what Laravel thinks is scheduled (optional but helpful)

On newer Laravel versions, you can list scheduled tasks and see the next due time:

php artisan schedule:list

If you don’t have that command on your version, don’t worry — you can still verify execution using logs (next step).

Step 4: Add a “heartbeat” log to prove the scheduler is executing

This is the method that finally removed my confusion. I added a temporary scheduled task that logs a line every minute. If the log appears, I know the scheduler is running — and if it doesn’t, the cron setup is wrong.

Open your scheduler file (commonly app/Console/Kernel.php) and add this inside the schedule() method:

protected function schedule(\Illuminate\Console\Scheduling\Schedule $schedule)
{
    $schedule->call(function () {
        \Log::info('Scheduler heartbeat: ' . now());
    })->everyMinute();
}

Now wait 1–2 minutes and check the log file:

tail -n 50 storage/logs/laravel.log

If you see “Scheduler heartbeat”, your scheduler is running correctly.

Important: Remove this heartbeat after testing. It’s only meant for debugging.

Laravel scheduler checklist: cron every minute → schedule:run → test log → laravel.log → fix path/PHP

Step 5: If manual works but cron doesn’t — here are the usual fixes

  • Wrong directory: cron must cd into your Laravel project before running Artisan.
  • Wrong PHP version: cPanel often has multiple PHP binaries. Use the correct full path.
  • Wrong user: cron must run as the same user that owns the project files.
  • Permissions: Laravel must be able to write to storage/ and bootstrap/cache.
  • Environment issues: if your cron uses a different .env context, it may fail silently.

If the scheduler runs but your real task still doesn’t

Once you’ve confirmed the scheduler itself is firing (heartbeat logs appear), then the issue is inside the task:

  • If the task queues jobs, make sure the queue worker is running.
  • Check storage/logs/laravel.log for exceptions.
  • Confirm the task schedule matches your timezone expectations.

Final checklist

  • ✅ Cron runs every minute
  • ✅ Manual php artisan schedule:run works
  • ✅ Heartbeat log appears in laravel.log
  • ✅ Real tasks run (or logs show why they fail)

That’s the exact process I use now whenever a Laravel scheduled task “mysteriously stops”. It quickly tells you whether the problem is cron or the application logic — and saves a lot of guessing.

TAGGED:ArtisancPanelCron JobDebuggingLaravelLinuxphpSchedulervps

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
[mc4wp_form]
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Copy Link Print
Previous Article Fix 409 Conflict error in Laravel (cookies, cache, WAF) How I Fixed the 409 Conflict Error in Laravel (Cookie / Browser / WAF Fix)
Next Article WooCommerce homepage filter to hide out of stock products Hide Out of Stock Products from Homepage in WooCommerce (Keep Them Visible Elsewhere)
Leave a Comment

Leave a Reply Cancel reply

You must be logged in to post a comment.

You Might Also Like

Make Select2 work inside a Bootstrap modal
Web Development

How to Use Select2 Inside a Bootstrap Modal

4 Min Read
Dynamically set site title and tagline in WordPress by country
Web Development

How to Dynamically Set Site Title and Tagline in WordPress (By Country)

6 Min Read
Securely upload only image files in PHP
Web Development

How to Upload Only Image Files Using PHP

6 Min Read
Laravel get config variable — config() helper and Config facade resolving dotted keys
Web Development

How to Get Config Variables in Laravel

7 Min Read
How7oHow7o

Free browser-based tools, prank screens, and step-by-step tech tutorials. No signup, nothing uploaded.

  • Private by design — your files never leave your device
  • Instant — no signup, no install, no waiting
  • Always free — no trials, no watermarks, no paywalls

Tools

  • PDF Editor
  • Image Upscaler
  • JPEG Compressor
  • Password Generator
  • QR Code Generator
  • Video Trimmer
  • See all tools →

Pranks

  • Cracked Screen Prank
  • Fake Blue Screen (BSOD)
  • Fake Disk Format
  • Fake Low Battery
  • Fake Virus Scan
  • Fake Windows 10 Update
  • See all prank screens →

Company

  • About Us
  • Blog
  • Contact
  • Privacy Policy
  • Terms of Service
  • Sitemap
© 2024–2026 How7o. All rights reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?