Hi all :wave: New user here - so please forgive m...
# ask-community
c
Hi all πŸ‘‹ New user here - so please forgive my noob question. I'm setting up a scheduled web harvester for some data crawling... This kind of works (I think I do have some caching issues), however I was wondering if I can trigger an out-of-schedule run via a RESTful API? Say my script does it thing daily at 8am, can I send some request to a REST API to trigger an execution at this moment? Cheers, C
n
Hi @Christian and welcome πŸ‘‹ ! Prefect Cloud prefect cloud allows just that, either via the UI or by sending an authenticated post request containing a GraphQL mutation. You can sign up for a free Prefect Cloud Scheduler Account at cloud.prefect.io. For information on getting started, you can visit https://docs.prefect.io/cloud/ ☺️
c
Thanks for this update. I'll check out the free cloud tier next week. Would it be possible to achieve this without cloud, too? I.e., is it possible to interfere with a running CronScheduler?
n
@Christian you won't be able to do that in the same process but since Prefect is entirely python, you can run your flows as you would any other python script!