You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access the newly created function settings and set it to run everyday at a given hour
For example, everyday at 2AM using the CRON Expression * 3 * * *
Access the functions dashboard
Find the function you just created
Using your mouse hover the "scheduled clock" icon
Verify that that the Next execution: ? is incorrect, e.g.: it says Next execution: Mar 1, 2000, 00:00, instead of saying Next execution: { today || tomorrow }, { year }, 03:00
👍 Expected behavior
It should display the correct date for the next execution:
0 1 * * * maps to Next execution: { today || tomorrow}, {year}, 01:00AM 0 2 * * * maps to Next execution: { today || tomorrow}, {year}, 02:00AM 0 3 * * * maps to Next execution: { today || tomorrow}, {year}, 03:00AM
👎 Actual Behavior
It displays the wrong date for the next execution:
0 1 * * * maps to Next execution: Jan 1, 2000, 00:00 0 2 * * * maps to Next execution: Feb 1, 2000, 00:00 0 3 * * * maps to Next execution: Mar 1, 2000, 00:00
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Something else
🧱 Your Environment
This issue can be replicated using only appwrite cloud without any other dependencies.
👀 Have you spent some time to check if this issue has been raised before?
FranciscoKloganB
changed the title
🐛 Bug Report:
🐛 Bug Report: wrong 'next execution' for scheduled functions on Appwrite Cloud UI
Jan 18, 2024
stnguyen90
changed the title
🐛 Bug Report: wrong 'next execution' for scheduled functions on Appwrite Cloud UI
🐛 Bug Report: wrong 'next execution' for scheduled functions
Jan 18, 2024
👟 Reproduction steps
* 3 * * *
Next execution: ?
is incorrect, e.g.: it saysNext execution: Mar 1, 2000, 00:00
, instead of sayingNext execution: { today || tomorrow }, { year }, 03:00
👍 Expected behavior
It should display the correct date for the next execution:
0 1 * * *
maps toNext execution: { today || tomorrow}, {year}, 01:00AM
0 2 * * *
maps toNext execution: { today || tomorrow}, {year}, 02:00AM
0 3 * * *
maps toNext execution: { today || tomorrow}, {year}, 03:00AM
👎 Actual Behavior
It displays the wrong date for the next execution:
0 1 * * *
maps toNext execution: Jan 1, 2000, 00:00
0 2 * * *
maps toNext execution: Feb 1, 2000, 00:00
0 3 * * *
maps toNext execution: Mar 1, 2000, 00:00
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Something else
🧱 Your Environment
This issue can be replicated using only appwrite cloud without any other dependencies.
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: