Comments (5)
Thanks for your comment :)
This plugin doesn't handle any timezone, so as you mentioned, the cron follows on the server time settings.
I was also thinking of supporting timezone, but the "node-schedule" I'm using doesn't support it, so it's quite hard to do so.
May be I should use "node-cron" instead, which act like "cron-parser" and also supports timezone.
Anyway, I'll try to support timezone in next few days.
from hubot-schedule.
@matsukaz no worries on the timezones. My servers are in UTC anyways so it's not hard to adjust. Probably more work than it's worth.
I should note, however, that there is some weirdness with the script.
It seems I can create schedules and they work fine, but when I delete them, even though it doesn't run anymore and is gone in Redis, they all still show up with hubot schedule list
$ Hubot schedule list
Message is not scheduled
$ Hubot schedule new "1 1 * * 1-4" blah
8085: Schedule created
$ Hubot schedule list
8085: [ 1 1 * * 1-4 ] #test blah
$ Hubot schedule remove 8085
8085: Schedule cancelled
$ Hubot schedule list
8085: [ 1 1 * * 1-4 ] #test blah
Not sure if it's being cached or something.
from hubot-schedule.
Humm, that's weird...
I'll try to fix that first, and than think about timezone later.
from hubot-schedule.
@MrMMorris
I've just fixed the bug you have mentioned and bumped version to 0.2.1. Thanks for your report!
from hubot-schedule.
you're amazing!
from hubot-schedule.
Related Issues (9)
- Support multiline message HOT 2
- handle UTF8 quotes HOT 2
- room becomes #undefined when hubot restarts
- need to support hubot-slack v4.x HOT 10
- Schedules don't show up when upgrading from 0.5.1 to 0.6.1 HOT 3
- Where hubot-schedule store data of schedule tasks? HOT 2
- Timezone support HOT 8
- Sort schedule list in due date HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hubot-schedule.