markdown-tweet-scheduler icon indicating copy to clipboard operation
markdown-tweet-scheduler copied to clipboard

Instead of running daily, schedule the script to run at the next tweet scheduled time

Open reidjs opened this issue 4 years ago • 1 comments

Currently, the script runs daily, regardless of whether or not a tweet is scheduled. It would be better to schedule the workflow at the time of the next tweet. This would fix issue #1 as well.

reidjs avatar Jul 23 '21 14:07 reidjs

An idea:

Allow for a frontmatter section where the poster can optionally specify time of day.

The tweet will post at a default time if there's no frontmatter

There will need to be two workflows

  1. On push, determine the next time the script needs to run
  2. On schedule specified in (1), run the script.

reidjs avatar Jul 26 '21 23:07 reidjs