|
|
@@ -768,8 +768,8 @@ flohmarkt_ynh_urlwatch_cron() {
|
|
|
ynh_add_config --template="../conf/urlwatch_urls.yaml" \
|
|
|
--destination="${flohmarkt_install}/urlwatch/urls.yaml"
|
|
|
ynh_add_config --template="../conf/urlwatch.cron" \
|
|
|
- --destination="/etc/cron.hourly/${flohmarkt_filename}"
|
|
|
- chown root:root "/etc/cron.hourly/${flohmarkt_filename}"
|
|
|
+ --destination="/etc/cron.hourly/${app}"
|
|
|
+ chown root:root "/etc/cron.hourly/${app}"
|
|
|
chmod 755 "/etc/cron.hourly/${flohmarkt_filename}"
|
|
|
# run urlwatch once to initialize if cache file does not exist,
|
|
|
# but if sending email fails (like on CI) just warn. We do not want
|