Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define a different timezone for scheduled tasks #98

Merged
merged 2 commits into from
Mar 22, 2025

Conversation

delyriand
Copy link
Contributor

Q A
Bug fix? no
New feature? yes
BC breaks? yes
Fixed issue #...
License MIT

As explained in the README, this PR lets you define a different timezone for scheduled tasks.

For example, I'm using the UTC timezone in my PHP config, but I want my scheduled tasks to be launched on the Paris timezone.
I change the value of the env variable in a .env:

SYNOLIA_SCHEDULER_PLUGIN_TIMEZONE=Europe/Paris

@CLAassistant
Copy link

CLAassistant commented Jun 12, 2024

CLA assistant check
All committers have signed the CLA.

@delyriand
Copy link
Contributor Author

@oallain what do you think of this proposal?

@oallain
Copy link
Member

oallain commented Nov 6, 2024

@oallain what do you think of this proposal?

Hello,
I think it's a good feature, we just need to fix CI.

@oallain oallain force-pushed the feature/timezone-management branch from 90e6cee to 6b553a8 Compare March 22, 2025 19:16
@oallain oallain force-pushed the feature/timezone-management branch from 6b553a8 to 7024e75 Compare March 22, 2025 19:19
Copy link
Member

@oallain oallain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I rebased it and use PHP Attribute.

@oallain oallain merged commit 2d07d8e into synolia:main Mar 22, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants