jgeusebroek / docker-spotweb

A docker image running ubuntu/20.04 Linux and Spotweb
47 stars 27 forks source link

Crontab not running? #39

Closed Smiggel closed 2 years ago

Smiggel commented 2 years ago

I have set the crontab option using the "SPOTWEB_CRON_RETRIEVE" variable. When I check /etc/crontab I see it's there:

/15 * su -l www-data -s /usr/bin/php /var/www/spotweb/retrieve.php >/var/log/stdout 2>&1

However, it seems like it's never being started. Not sure why. The command itself does work, when I execute it in the terminal of the container. The spots however, don't update.

Smiggel commented 2 years ago

Seems like I had an issue with my container. Did a new install and now it works.