Skip to content

adegans/yellow-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scheduler

Easily schedule draft blog posts to be published at a later date.

Usage

The Blog and Draft extensions are required for scheduler to work.

To change the publish interval add SchedulerPublishInterval: 6 to your yellow-system.ini. You can skip this to use the default 6 hours.

The number is in hours, 6 hours is the default. If you're a busy blogger, you may want to set it to 1 (hour). Or if you're a occasional blogger maybe 48 (hours) makes more sense. Whatever works for you. Keep in mind that the longer you set the interval, if you add a file right after the next check it'll take a while for your blog post to appear.

To schedule a post use the Status page setting and the Publish Page setting. You'll set the status to draft and the Published date to some future date, as shown below. This can be just the date or include a time.

---
Title: New scheduled post
Description: Some kind of scheduled description
Tag: tag, tag, tag
Status: draft
Published: 2026-25-01
Author: Arnan de Gans
Language: en
Layout: blog
---

A load of blabla that is scheduled to appear at the Published date.

Or with the time, if you want to schedule posts for certain hours of the day.

---
Title: Another scheduled post
Description: A scheduled description
Tag: tag, tag, tag
Status: draft
Published: 2026-09-02 13:09:00
Author: Arnan de Gans
Language: en
Layout: blog
---

So much blabla in fact that it requires to be scheduled so your readers can enjoy the full weight of your blabla in a few weeks!

Scheduler runs on a 'dumb' timer, a time comparison really. Once the timer runs out it schecks if posts need to be published using built-in functions. If it finds an eligible post, that post file is edited and the Status is set from draft to public.

The next time your blog is loaded the new post should show up as if you just uploaded it yourself.

Troubleshooting

The extension has no visual output and does not show errors on your website. It silently fails and writes errors to the log.

Changelog

1.2 - 2025-12-09

  • Update - Much more reliable scheduler function
  • Fix - No more double checking if page needs publishing

1.1 - 2025-12-01

  • Fix - No longer interferes with getUrl();

1.0.1 - 2025-11-30

  • Fix - Only replace the first occurence of 'Status: draft'
  • Update - More logical timer code

1.0 - 2025-11-29

  • Initial version

How to install an extension

Download ZIP file and copy it into your system/extensions folder. Learn more about extensions.

Developer

Arnan de Gans

About

Easily schedule draft posts for your blog to be published

Topics

Resources

License

Stars

Watchers

Forks

Languages