1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00
flohmarkt_ynh/conf/urlwatch.cron
Chris Vogel dbb9891351 simple urlwatch integration
that sends an email to the admin of flohmarkt or the admin group of yunohost
when the user database changes
2024-06-15 13:34:58 +02:00

9 lines
276 B
Bash

#!/bin/sh
# run urlwatch for flohmarkt
PATH=/usr/sbin:/sbin:/usr/bin:/bin
sleep $((RANDOM%111))
sudo -u __APP__ urlwatch \
--config /var/www/__APP__/urlwatch/config.yaml \
--urls=/var/www/__APP__/urlwatch/urls.yaml \
--cache /var/www/__APP__/urlwatch/cache.file