Create easy way to do cronjobs for routine jobs #1

Open
opened 2021-05-15 19:49:06 +00:00 by roxxers · 2 comments

Required for cache and media clearing on instances that use local stoorage unless you want your whole harddive filled with cat videos from months ago

Required for cache and media clearing on instances that use local stoorage unless you want your whole harddive filled with cat videos from months ago
Owner

Probably the handiest thing is https://git.coopcloud.tech/coop-cloud/swarm-cronjob. We could have a compose.cron.yml which runs standard, useful jobs. These could be configurable by env vars? Unsure. There could be further compose.$job.yml to swap them in/out if required. Example in 949f952ae4/compose.yml (L130-L131) you need to have https://git.coopcloud.tech/coop-cloud/swarm-cronjob running on the swarm first

Probably the handiest thing is https://git.coopcloud.tech/coop-cloud/swarm-cronjob. We could have a `compose.cron.yml` which runs standard, useful jobs. These could be configurable by env vars? Unsure. There could be further `compose.$job.yml` to swap them in/out if required. Example in https://git.coopcloud.tech/coop-cloud/loomio/src/commit/949f952ae435dfe7edf351dda9debfd0c1c3fe6d/compose.yml#L130-L131 you need to have https://git.coopcloud.tech/coop-cloud/swarm-cronjob running on the swarm first
Owner

Saw https://codeberg.org/bath.social/server/issues/6 btw /cc @nicksellen (happens to be open on the wrong recipe 🙃 but maybe useful info above also).

Saw https://codeberg.org/bath.social/server/issues/6 btw /cc @nicksellen (happens to be open on the wrong recipe 🙃 but maybe useful info above also).
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/mastodon#1
No description provided.