diff options
author | stuebinm | 2022-04-07 21:44:23 +0200 |
---|---|---|
committer | stuebinm | 2022-04-07 22:19:37 +0200 |
commit | a22a0346524910c596f97aba955b7346b7479c2d (patch) | |
tree | 29385eeb7113ebdf64c990726e1f722b836d0258 /flora/services/urlwatcher.scm | |
parent | b7a97a0076d7ce261f67573115e14bbcd0d6d679 (diff) |
flora: fix the trainspotter script
Diffstat (limited to '')
-rw-r--r-- | flora/services/trainspotter.scm (renamed from flora/services/urlwatcher.scm) | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/flora/services/urlwatcher.scm b/flora/services/trainspotter.scm index 0519903..860f0ab 100644 --- a/flora/services/urlwatcher.scm +++ b/flora/services/trainspotter.scm @@ -31,18 +31,18 @@ (process-output->string `(zipcmp ,oldfile ,newfile))) "")]) (do-pipeline `((echo ,(format " -From: urlwatcher@flora.stuebinm.eu -Subject: Ilztalbahn GTFS Update -Neuer hash: ~a -Link: ~a +Neuer hash ist ~a +Link ist ~a ~a (~a) " newhash url diff pretty-date)) - (sendmail "stuebinm@disroot.org" "-t"))) + (mail "-s" "Ilztalbahn GTFS Update" + "stuebinm@disroot.org" + "-a" "From: trainspotter@flora.stuebinm.eu"))) (sexp-list->file cachefile (list (list pretty-date newhash)) |