by ttymck · 2y ago · 0 comments
For background jobs and cron jobs, some kind of cron job can be defined in the app, to wake up the container. This is not supported currently. If an app has background jobs or idle check is not accurate, the auto-pause can be disabled.
clace app update-metadata conf --promote container.idle_shutdown_secs=180 /myapp
at every 6pm and then runs clace app update-metadata conf --promote container.idle_shutdown_secs=0 /myapp
at 8am. idle_shutdown_secs being zero disables the shutdown. Using all as the last arg will update for all apps.