Skip to content

Configuration Reference

sgohl edited this page Mar 20, 2024 · 6 revisions

Crontabs

You can create (multiple) files in the following locations which are named matching cron*

  • /www/app/
  • /www/app/plug/*/

for example:

  • /www/app/cron-foo
  • /www/app/cron-bar
  • /www/app/plug/your-plug1/cron1
  • /www/app/plug/your-plug1/crontab2
  • /www/app/plug/your-plug2/cron.txt

All crontab files will be xargs cat | crontab - at container start (entrypoint.sh) and run as root.

Example: Run a wish command every 10 minutes

*/10 * * * * wish run Examplefunction some arguments

Note: Make sure your cron files end with an empty line !

Clone this wiki locally