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

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

Open
reidjs opened this issue Jul 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@reidjs
Copy link
Owner

reidjs commented Jul 23, 2021

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 reidjs added the enhancement New feature or request label Jul 23, 2021
@reidjs
Copy link
Owner Author

reidjs commented Jul 26, 2021

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.

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

No branches or pull requests

1 participant