Skip to content

I don't understand the behavior of the scheduler synchronization #216

Answered by Guikingone
xaviermarchegay asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @xaviermarchegay 👋🏻

The goal of the synchronisation is to ensure that the scheduler is "up to date" regarding the VM / OS / Container internal clock.

Regarding the error, I might know why it happen, due to PHP 8.0 migration, the internal logic used to check this synchronisation has been changed: https://github.com/Guikingone/SchedulerBundle/blob/main/src/Scheduler.php#L289, it might explain why you're encountering the error.

Just to be sure, when you're launching:

/usr/bin/docker exec -u www-data picophony-php /bin/bash -c "bin/console scheduler:consume"

It is launched using cron via a container or directly in the VM / server?

Thanks for the precision and sorry for this bug, I'm gonna …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by xaviermarchegay
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants