Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Script] !cron -t, -c -r not working?

Either I am too stupid (likely) or the functions -t,-c,-r are not working anymore. Does someone know how to use them? If i add 2 Entries to the turn order with Ini 3 and 4 and use !cron -c 3 DREI nothing ever happens, neither with !cron -r 1 ONE TURN. -t is based on the server time zone so i adjust the time by -6 hours for Austria, but it does not seem to trigger.
1431377724

Edited 1431380327
Wow, count-based jobs got pretty screwed up when I was working on the time-based stuff (I did a bit of refactoring after developing and testing the count-based stuff, and clearly should've retested the count-based jobs afterwards). The fixed version is in my fork now: <a href="https://github.com/manveti/roll20-api-scripts/tree/master/cron" rel="nofollow">https://github.com/manveti/roll20-api-scripts/tree/master/cron</a> (I just submitted a pull request, so it'll probably get pulled into the main repo pretty soon).
Thank you very much! I really love the idea of !cron - it is so extremly useful.
1431398729

Edited 1431399133
The relevant commit has been merged into the main repo. About the time thing: does Austria do daylight saving time? Doesn't that push it to GMT+2 during the summer? In my testing (both during development and now; during DST in both cases), the server was at GMT-5. That would mean you'd be subtracting 7 rather than 6. It's unfortunate but unavoidable that we have to use a fixed time zone. Maybe I should switch it over to GMT so it's less arbitrary. Edit: In fact, I did switch it over. Versions 0.4 and up will use GMT.
Cool!