If i want function to schedule for 30seconds, how can i do that??
if i try this 0/30 * * * * * then it give this error:
TypeScript
Invalid `schedule` param: String must be a valid cron expression
TL;DR
Developers are trying to schedule a function to run every 30 seconds using a cron expression but are facing an error. The correct format for scheduling a function in seconds is not possible with traditional cron syntax, as it works on minute-level granularity. An alternative solution would be to run a loop inside the function with a sleep timer set to 30 seconds.You can't
Got it.
Scheduling function in seconds [solved]
Recommended threads
- Unknown usage from one of my database
I need support help. For more than 2 weeks, i didn't make any requests to my database, but I have noticed huge amount of reads and writes requests: Around 8000...
- AppwriteException: Missing required para...
I'm using node-appwrite sdk to retrive the documents. Example my code on pic, was define collectionId but error is still. Why?
- Project is not accessible in this region...
Context: I'm changing my region from German to Singapore. Sample code on Go appwrite function: ``` package handler import ( "os" "github.com/appwrit...