Documentation ¶
Overview ¶
Package jobs encapsulates cron job functionality using gocron.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScheduleCronJobs ¶
func ScheduleCronJobs(repo services.RepositoryService, files services.FilesService, email services.EmailService)
ScheduleCronJobs schedules cron jobs for the web app. It starts the following jobs:
- Clean Images: Removes unreferenced images from the data/images folder to save space.
- Send queued emails
- Backup data
- Check for a new release
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.