
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
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- deno 2 Cloud random errors
we have big problems with the functions. although we do not change anything in the function, we have the following random behaviour: - no scope permissions erro...
