-
-
Save dawehner/c737310ee353c2cc3d880f7e024e8f84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var notify = require('osx-notifier'); | |
| var cron = require('node-cron'); | |
| // Stand up every 30 minutes at least. | |
| cron.schedule('30 * * * *', () => { | |
| notify({ | |
| type: 'fail', | |
| title: 'Stand up', | |
| subtitle: 'Standup, do some excerise or at least drink some water, dude!', | |
| message: 'It is time for it', | |
| group: 'taskdoer', | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment