Skip to content

Commit

Permalink
remove old wiki cron vars
Browse files Browse the repository at this point in the history
  • Loading branch information
BK1031 committed Sep 27, 2024
1 parent 2f76f76 commit fc5b675
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,4 @@ var MemberDirectorySheetID = "1reuLZox2daj8r2H-lZrwB4oFPYlJ6oC7983UUaZd6AY"

var DriveCron = os.Getenv("DRIVE_CRON")
var GithubCron = os.Getenv("GITHUB_CRON")
var WikiCron = os.Getenv("WIKI_CRON")
var DiscordCron = os.Getenv("DISCORD_CRON")
4 changes: 0 additions & 4 deletions utils/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ func VerifyConfig() {
config.GithubCron = "0 * * * *"
SugarLogger.Infof("GITHUB_CRON is not set, defaulting to %s", config.GithubCron)
}
if config.WikiCron == "" {
config.WikiCron = "0 * * * *"
SugarLogger.Infof("WIKI_CRON is not set, defaulting to %s", config.WikiCron)
}
if config.DiscordCron == "" {
config.DiscordCron = "0 * * * *"
SugarLogger.Infof("DISCORD_CRON is not set, defaulting to %s", config.DiscordCron)
Expand Down

0 comments on commit fc5b675

Please sign in to comment.