Deta CRON not working #597
-
hi all,I am trying to run a deta CRON job following exactly what is proposed into the docs:
However, when I try to run the deployed function, I get the following error:
I have also tried to instantiate the app like this:
But I am getting the same error. I have tried many different combinations, but all of the does not work. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Update: I managed to re-create a new deta app from scratch and I was able to run the example code, however, when I replace the code with my function, I get the following error: |
Beta Was this translation helpful? Give feedback.
-
I guess you are using |
Beta Was this translation helpful? Give feedback.
I guess you are using
deta run
, don't use that. To schedule your cron use this and to know more about deta crons check here.