If i want function to schedule for 30seconds, how can i do that??
if i try this 0/30 * * * * *
then it give this error:
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.