▲ 60 ▼ Cron Jobs on Linux - Comprehensive Guide with Examples (ittavern.com) submitted 2 years ago by learnbyexample@programming.dev to c/linux@lemmy.ml 5 comments fedilink hide all child comments
[–] ouch@lemmy.world 1 point 2 years ago (1 child) Is there any easy way to get mail of the runs like with cron? permalink fedilink source parent hideshow 2 child comments replies: [–] gomp@lemmy.ml 1 point 2 years ago* (1 child) You can use OnFailure in your .service file if you want some thing to happen when that specific service fails, but I don't know if there's a blanket way to tell systemd to notify via email when any failure happens (I wouldn't mind a desktop notification... will investigate) permalink fedilink source parent hideshow 2 child comments replies: [–] ouch@lemmy.world 1 point 2 years ago When I checked a long time ago, there wasn't. And not only failures, often it's useful to get mail for all executions. I guess cron continues to have its place. permalink fedilink source parent
[–] gomp@lemmy.ml 1 point 2 years ago* (1 child) You can use OnFailure in your .service file if you want some thing to happen when that specific service fails, but I don't know if there's a blanket way to tell systemd to notify via email when any failure happens (I wouldn't mind a desktop notification... will investigate) permalink fedilink source parent hideshow 2 child comments replies: [–] ouch@lemmy.world 1 point 2 years ago When I checked a long time ago, there wasn't. And not only failures, often it's useful to get mail for all executions. I guess cron continues to have its place. permalink fedilink source parent
[–] ouch@lemmy.world 1 point 2 years ago When I checked a long time ago, there wasn't. And not only failures, often it's useful to get mail for all executions. I guess cron continues to have its place. permalink fedilink source parent