Skip to content

scheduledTime expansion in config #59

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

Open
hummingV opened this issue Jul 28, 2016 · 0 comments
Open

scheduledTime expansion in config #59

hummingV opened this issue Jul 28, 2016 · 0 comments

Comments

@hummingV
Copy link
Contributor

hummingV commented Jul 28, 2016

This request is similar to #51 but much narrower in scope, namely to expand a special scheduledTime variable. Judging from the example given in #51, it seems the poster, @PhaedrusTheGreek, is also interested to expand time in the url. I speculate that scheduledTime would be one of the most useful variables to expand.

scheduledTime should be a long number representing milliseconds since epoch. I will be happy to work on a PR for this.

A more powerful and flexible solution would be to provide pre and post request hooks. Invoke the scripts with request, scheduledTime as bounded variables (as well as rufus scheduler job object if my PR #58 is accepted ;)
I will also be happy to provide PR using this approach even though I just need scheduledTime for now.

@hummingV hummingV changed the title trigger_time expansion in config scheduledTime expansion in config Jul 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant