Comments (4)
Do you have psutil
installed? I haven't fully updated the docs (nor cut a release) with how to install the extras. Just run pip install psutil
. I think there might be a bug in the pid functionality, but I'm not sure. Then:
$ ntfy done -h
usage: ntfy done [-h] [-L N] [-p PID] ...
positional arguments:
command command to run
optional arguments:
-h, --help show this help message and exit
-L N, --longer-than N
Only notify if the command runs longer than N seconds
-p PID, --pid PID Watch a PID instead of running a new command
from ntfy.
Do you have psutil installed?
I installed it and I still don't see PID as an option with ntfy. I'll wait until you make a release.
from ntfy.
Weird. I'll probably cut a release soon, I've been testing the --pid
functionality at work today and it seems to work. I personally install ntfy with pip3
, so if you do that too, you need to make sure you install psutil that way too.
from ntfy.
Okay, I'll try it then and on a couple different machines to see if I see different behavior.
Along the same lines as watching a pid, have you considered notifying when a command starts up?
from ntfy.
Related Issues (20)
- Action Buttons in ntfy?
- Allow setting notification timeout as CLI flag HOT 2
- use unittest.mock instead of mock
- No release since 2018? HOT 2
- Base path HOT 1
- emojize() got an unexpected keyword argument 'use_aliases' HOT 4
- Google chat and Signal support
- Not auto starting after reboot
- Can not use shell variable as message HOT 2
- how to uninstall in ubuntu?
- Support python3.11 HOT 1
- feature: support customizing icons depending on the result code
- Ignoring VS Code
- AttributeError: module 'telegram' has no attribute 'notify' HOT 2
- incompatible with python 3.11 HOT 6
- How this works? HOT 1
- use Slixmpp instead of SleekXMPP
- ttl support w/Pushover
- Add end-to-end encryption support to SimplePush
- Commands prefixed by space are still logged in `.bash_history`
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 ntfy.