Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alfonsogarza's avatar

Scheduled job issues (only works with everyMinute)

Hey everyone,

I've run into a a small complication and haven't been able to figure it out despite trying for hours.

I've got a Digital Ocean server deployed with Forge with Laravel 5.3 and I am trying to setup a cron but I am having issues making the job run.

The Job runs when I use: $schedule->command('site:command')->everyMinute();

But if I this it doesn't work: $schedule->command('site:command')->everyTenMinutes();

I'm using beanstalkd and service beanstalkd status returns OK.

Any clues?

I'm not sure what sort of code snippets would help, so just let me know and I can paste it here.

0 likes
3 replies
ahuggins's avatar

This:

$schedule->command('site:command')->everyTenMinute();

Should be:

$schedule->command('site:command')->everyTenMinutes();
alfonsogarza's avatar

@ahuggins that was just a typo when writing the question and wasn't present on the code.

Appears to work now with no code changes on my side. :/

ahuggins's avatar

ok, then yeah, it should have been working lol.

Please or to participate in this conversation.