chore: standardize on cron task vs any other naming

This commit is contained in:
Jose Diaz-Gonzalez
2025-09-21 21:05:24 -04:00
parent 66a30b0547
commit 426e6b746a
2 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ type CronTask struct {
// Command is the command to execute
Command string `json:"command"`
// Maintenance is whether or not the cron command is in maintenance mode
// Maintenance is whether or not the cron task is in maintenance mode
Maintenance bool `json:"maintenance"`
// Schedule is the cron schedule to execute the command on

View File

@@ -56,10 +56,10 @@ type CronTask struct {
// AppInMaintenance is whether the app's cron is in maintenance mode
AppInMaintenance bool `json:"app-in-maintenance"`
// Maintenance is whether the cron command is in maintenance mode
// Maintenance is whether the cron task is in maintenance mode
TaskInMaintenance bool `json:"task-in-maintenance"`
// Maintenance is whether the cron command is in maintenance mode
// Maintenance is whether the cron task is in maintenance mode
Maintenance bool `json:"maintenance"`
}