• 0 Posts
  • 44 Comments
Joined 30 days ago
cake
Cake day: March 14th, 2025

help-circle
  • Like, Nextcloud runs background tasks as a cron job which is something I’ve never seen with other hosted services.

    Drupal also uses crons to run repeated tasks. By default, Drupal cron cleans out stale database records for a few tables and breaks old caches. It can be extended by the developer, though.

    It’s probably a holdover from before containerised applications were ubiquitous but honestly it comes off as jank.

    PHP is pre-container and pre-virtualization, so I guess you can think of it as a hack way of getting garbage collection. To be honest, the cron’s translate pretty well to k8s cronjobs. You just use the same image as the app and override the command with the cronjob command.



















  • The production database gets down-synced to the lower environments on demand, so they can test on actual production datasets. That would require us to manually remake this user account every time a dev down-syncs the database to a lower environment.

    The customer is paranoid, as the project is their public facing website, so they want testing against the actual prod environment.

    We don’t mange the SSO, as that is controlled by the customer. The only local (application specific) account is this account for testing.