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
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.
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](https://github.com/unlcms/project-herbie/assets/72580736/9c5825d1-6d54-43e6-87c2-1f8a0317ae00)
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](https://github.com/unlcms/project-herbie/assets/72580736/c61f440b-f38b-423d-8316-cbbd23d07c74)