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

694 add scheduler module #729

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sarongebre
Copy link
Collaborator

Closes #694

For the Scheduler module to function properly, the scheduler module's cron job needs to be set up correctly. Currently, Drupal's cron is set to run every 3 hours. We likely don't want to wait that long for the scheduler cron to run. We might want to set it to run every 30 minutes or even every minute.

I'm also not sure where we would set the cron job. Publishing and unpublishing entities won't work if the cron job isn't set regularly. The module wasn't functioning correctly when I tested it, so I also had to install the Scheduler Content Moderation Integration module.

Permissions are set as follows
image

Currently allowed entities to use the Scheduler module are Books, Builder page, Webforms, and News Items.

For the News content type, I have configured it so that once content is published, the creation time of the news item matches the scheduled publish date. I'm not sure if we want to keep this setting. I did this because we use the node creation time in a Twig file to display the time. This setting is turned off for all other content types. Additionally, I have enabled the creation of new revisions when an entity is published.
image

@sarongebre sarongebre added the enhancement New feature or request label May 21, 2024
@sarongebre sarongebre added this to the 10.18 milestone May 21, 2024
@sarongebre sarongebre requested a review from ericras May 21, 2024 23:49
@sarongebre sarongebre self-assigned this May 21, 2024
@ericras ericras modified the milestones: 10.18, 10.19 Jun 13, 2024
@ericras ericras modified the milestones: 10.19, 10.20 Jul 8, 2024
@ericras ericras modified the milestones: 10.20, 10.21 Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Scheduler module
2 participants