Set alarms from your terminal.
You can install this package using pip
:
pip install pylarm
The command pylarm
will then be available from your terminal.
pylarm set --sound <PATH_TO_SOUND_FILE> --message='The time has come!' --at='17:00' &
You can also simply run
pylarm set --sound <PATH_TO_SOUND_FILE>
and you'll be prompted to select the time and the message.
After setting an alarm, you'll be informed of the pid of that alarm. You can use it to cancel the alarm as follows:
pylarm cancel --pid=<PID_OF_THE_ALARM>
Again, you can simply run
pylarm cancel
and you'll be prompted to select the pid.
To know the details about a subcommand you can run pylarm <subcommand> --help
.