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

[Triggers]: Enable adding a single-run timed trigger #27

Closed
AdamEr8 opened this issue Sep 14, 2023 · 4 comments
Closed

[Triggers]: Enable adding a single-run timed trigger #27

AdamEr8 opened this issue Sep 14, 2023 · 4 comments

Comments

@AdamEr8
Copy link
Owner

AdamEr8 commented Sep 14, 2023

E.g for when Thursday is not a workday.

@orgold
Copy link
Collaborator

orgold commented Sep 14, 2023

This is ALMOST supported out of the box for Azure functions.
Once you add https://portal.azure.com to the CORS, you can manually trigger from the function's 'Code + Test' tab.

@AdamEr8
Copy link
Owner Author

AdamEr8 commented Sep 14, 2023

This is ALMOST supported out of the box for Azure functions. Once you add https://portal.azure.com to the CORS, you can manually trigger from the function's 'Code + Test' tab.

Yea @orgold, but it this has to be done when you need to use your credits, I want to be able to set this single-run trigger whenever I happen remember/realize I'll need one, and then forget about it

@orgold
Copy link
Collaborator

orgold commented Sep 15, 2023

You refer to scheduling a one-time order in advance.
It's pretty much supported. Copy the exiting function and change function.json to trigger on specific day and month. After it triggered, you have a year to delete it if you don't want it to reoccur. Seems like a fair ROI.

@AdamEr8
Copy link
Owner Author

AdamEr8 commented Sep 16, 2023

Yea, that'll work.
especially given there doesn't seem to be a "native" solution

@AdamEr8 AdamEr8 closed this as completed Sep 16, 2023
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

2 participants