Home
DevCentral
Search
Configure Global Search
Log In
Transactions
T771
Change Details
Change Details
Old
New
Diff
**Problem we want to solve** A script takes some hours to complete. It runs in background. The user wants to be notified when the script is done. **Plan** Provide a notification utility accessible in CLI, so it's as easy as: ```lang=sh python3 broadwayvenues && notifyme "Broadway venues successfully processed." ``` Then, the utility send a payload to the notification center: ```lang=json { source: "harmonia@ysul.nasqueron.org", message: "Broadway venues successfully processed." } ``` The notification center then could: * send a notification to a different queue on the broker than for public notifications, so it can be processed by another application * send a mail (but `notifyme` could directly do `echo '' | mail -t "Broadway venues successfully processed." user@domail.tld`)
**Problem we want to solve** A script takes some hours to complete. It runs in background. The script caretaker wants to be notified when the script is done. **Plan** Provide a notification utility accessible in CLI, so it's as easy as: ```lang=sh python3 broadwayvenues && notifyme "Broadway venues successfully processed." ``` Then, the utility send a payload to the notification center: ```lang=json { source: "harmonia@ysul.nasqueron.org", message: "Broadway venues successfully processed." } ``` The notification center then could: * send a notification to a different queue on the broker than for public notifications, so it can be processed by another application * send a mail (but `notifyme` could directly do `echo '' | mail -t "Broadway venues successfully processed." user@domail.tld`)
**Problem we want to solve** A script takes some hours to complete. It runs in background. The
user
script caretaker
wants to be notified when the script is done. **Plan** Provide a notification utility accessible in CLI, so it's as easy as: ```lang=sh python3 broadwayvenues && notifyme "Broadway venues successfully processed." ``` Then, the utility send a payload to the notification center: ```lang=json { source: "harmonia@ysul.nasqueron.org", message: "Broadway venues successfully processed." } ``` The notification center then could: * send a notification to a different queue on the broker than for public notifications, so it can be processed by another application * send a mail (but `notifyme` could directly do `echo '' | mail -t "Broadway venues successfully processed." user@domail.tld`)
Continue