Comments (10)
Hey @dyuri, I've implemented the cron jobs, could you please help me to test it out on your Linux machine?
from tsk.
And for initial notify support it's fine, but it might be improved by storing the last notification time for each task, so notifications won't be lost (but only late), if the computer was off/sleeping for a time.
from tsk.
... and reminder stop
removes the crontab entry.
from tsk.
Thanks for opening this issue.
Do you mean crontab in UNIX? Because I've tried to use cron in Golang and it requires a blocking process.
from tsk.
Yep, the standard linux/unix crond, or anything else that can schedule commands. And yes, I think tsk should avoid to become a blocking/continuously running process.
from tsk.
Yeah let's use crontab.
As for the desktop notification part, based on my research:
- Mac:
- osascript (easy to implement but unable to customize app icon)
- terminal-notifier
- Windows:
- Powershell
- Linux:
What do you think?
from tsk.
I'm using Linux for ages, so don't have experience with Mac/Win. For Linux notify-send
works, and dbus can be used as well.
I just found this: https://github.com/gen2brain/beeep - seems to support the ones mentioned + some fallbacks.
from tsk.
Looks cool, let me try it out
from tsk.
Good to see that! I saw that you are triggering it using tsk notify
command, did you try tsk reminder start
to see if the cron job works?
from tsk.
yep, that works as well:
$ crontab -l
* * * * * /home/dyuri/egyeb/prog/go/bin/tsk notify
from tsk.
Related Issues (5)
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 tsk.