# Storefront artwork — a placeholder banner for anything on sale that has none.
#
# The licence portal's buy page and the public pricing page both lead with a
# wide image per plan and per add-on. Without one the card is a heading and a
# price, which reads as an unfinished shop — and that is the first thing a
# buyer sees.
#
# Daily rather than on demand because the catalog grows on its own: install an
# add-on, list it, and its card should already have artwork the next time
# someone looks, without anyone remembering to make one.
#
# ⚠️ NEVER overwrites an existing banner — an uploaded image is the vendor's
# real artwork and survives every run. A generator that runs unattended must
# not be able to destroy work, so it only ever fills gaps.
17 4 * * * www-data /usr/bin/flock -n /run/lock/alpha-store-banners.lock /usr/bin/nice -n 15 /usr/bin/ionice -c3 /usr/bin/php /var/www/alpha/bin/store-banners.php >/dev/null 2>&1
