https://prefect.io logo
Title
c

Christian

03/08/2020, 4:17 PM
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

nicholas

03/08/2020, 4:23 PM
Hi @Christian and welcome ๐Ÿ‘‹ ! Prefect Cloud ๐Ÿ˜›refect-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

Christian

03/08/2020, 4:41 PM
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

nicholas

03/08/2020, 6:51 PM
@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!