Where have you set the cron syntax?
CRON Syntax not executing function
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
I have set it in the function's settings
Well, can you check that the function is able to run by itself?
Also I've tried in my cloud account, and I've cleared and saved the cron input. then I've re enter the cron input and then it works
So can you try these two steps?
Rank 1: Thread
I've entered * * * * * and the function runs without me having to press the execute button manually
So it works?
Sorry, so when you're setting the execution to be once a minute it works?
Rank 1: Thread
yes i specified that in the last line of my original post
Got you
So the server is set to ET
So if you want your function to be execute every day at 07:00 at GMT you can set to 0 15 * * *
Rank 1: Thread
ohh i thought it would be something like gmt
Rank 1: Thread
ok thanks for your help :)
Let me be sure about it
Yes,
I ran an API request to https://cloud.appwrite.io/v1/health/time
And the time is like ET
{ "remoteTime": 1684421581, "localTime": 1684421581, "diff": 0}So you set to go with ET time zone
Rank 1: Thread
Still dont work :/
Rank 1: Thread
surprisingly
Rank 1: Thread
set it according to my current time zone to test
What time you've set?
Rank 1: Thread
converted to et time
Rank 1: Thread
ET time
Rank 1: Thread
Very weird for it to not execute when specific time is set but executes when every minute is set
Rank 1: Thread
Turns out the function is not ET but actually UTC from this github post
Rank 1: Thread