R
Railway•11mo ago
Prodigga

Can't add Cron Schedule

Howdy Project ID: 4c3b4b0e-006a-407e-90c7-9c3031cd622f I am unable to add cron schedule to a service via the dashboard. Hitting the Checkmark doesn't do anything. Unsure what I am doing wrong!
17 Replies
Percy
Percy•11mo ago
Project ID: 4c3b4b0e-006a-407e-90c7-9c3031cd622f
Fragly
Fragly•11mo ago
Could you try pressing enter instead of clicking on the checkmark? just an experiment
Prodigga
ProdiggaOP•11mo ago
hi Fragly, just tried it, same result
Fragly
Fragly•11mo ago
Darn, unfortunate what browser are you using?
Prodigga
ProdiggaOP•11mo ago
chrome here
Prodigga
ProdiggaOP•11mo ago
Fragly
Fragly•11mo ago
oh yea, I don't think raillway allows cron schedules that're less than 15 minutes let me go verify this
Prodigga
ProdiggaOP•11mo ago
oh right, i see. I wanted to do every minute so i can proof check my work and make sure it was working, istead of waiting 15 minutes hehe 🙂
Fragly
Fragly•11mo ago
just verified, yea - lowest you can is 15 * * * * they should really point that out to the user though 🤔 Makes sense
Prodigga
ProdiggaOP•11mo ago
yes it looks like a bug for sure 15 * * * * is 15 mins past the hour, so once an hour is the lowest */15 * * * * ? every 15 mins (that seemed to work) oh and the new schedule tab lets me 'run now' so i can check that way
Fragly
Fragly•11mo ago
oh yes my bad, it's 3 am here so I'm pretty out of it awesome!
Prodigga
ProdiggaOP•11mo ago
sweet thanks for the help, and yeah def's need a little error on the dashboard! haha 🙂 i imagine a lotta people might do a similar thing, just to see it working - set it to 1 mins to debug and try it out
Fragly
Fragly•11mo ago
Happy to help :D If you want you can point that oversight out in #🤗|feedback
Prodigga
ProdiggaOP•11mo ago
sure thing
RealChaiR
RealChaiR•11mo ago
fwiw I'm able to do every 5 minutes, but I can't go lower than that.
0/5 * * * *
0/5 * * * *
joe
joe•11mo ago
FYI depending on what you mean, the convention might be to use automated testing in your CI/CD pipeline for this rather than a cron job
Prodigga
ProdiggaOP•11mo ago
Hey there, I mean I wanted to see it execute for real on the railway platform to see what happens to my app
Want results from more Discord servers?
Add your server