File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
src/main/java/net/javadiscord/javabot/systems Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public class HelpExperienceJob {
2828 /**
2929 * Removes a specified amount of experience from everyone's help account.
3030 */
31- @ Scheduled (cron = "0 0 0 * * *" )//daily 00:00
31+ @ Scheduled (cron = "0 0 0 * * *" ) // Daily, 00:00 UTC
3232 public void execute () {
3333 asyncPool .execute (() -> {
3434 try {
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public class QOTWCloseSubmissionsJob {
5050 *
5151 * @throws SQLException if an SQL error occurs
5252 */
53- @ Scheduled (cron = "0 0 21 * * 7" )// Sunday 21 :00
53+ @ Scheduled (cron = "0 0 17 * * 7" ) // Sunday, 17 :00 UTC
5454 public void execute () throws SQLException {
5555 for (Guild guild : jda .getGuilds ()) {
5656 // Disable 'Submit your Answer' button on latest QOTW
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public class QOTWJob {
4242 * Posts a new question to the QOTW channel.
4343 * @throws SQLException if an SQL error occurs
4444 */
45- @ Scheduled (cron = "0 0 9 * * 1" )//MONDAY , 09:00
45+ @ Scheduled (cron = "0 0 9 * * 1" ) // Monday , 09:00 UTC
4646 public void execute () throws SQLException {
4747 for (Guild guild : jda .getGuilds ()) {
4848 GuildConfig config = botConfig .get (guild );
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public class QOTWReminderJob {
3333 * Checks that there's a question in the QOTW queue ready for posting soon.
3434 * @throws SQLException if an SQL error occurs
3535 */
36- @ Scheduled (cron = "0 0 9 * * *" )//daily , 09:00
36+ @ Scheduled (cron = "0 0 9 * * *" ) // Daily , 09:00 UTC
3737 public void execute () throws SQLException {
3838 for (Guild guild : jda .getGuilds ()) {
3939 ModerationConfig config = botConfig .get (guild ).getModerationConfig ();
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public class QOTWUserReminderJob {
3737 /**
3838 * Checks that there's a question in the QOTW queue ready for posting soon.
3939 */
40- @ Scheduled (cron = "0 0 16 * * 5" )// Friday 16:00
40+ @ Scheduled (cron = "0 0 16 * * 5" ) // Friday, 16:00 UTC
4141 public void execute () {
4242 for (Guild guild : jda .getGuilds ()) {
4343 QOTWConfig config = botConfig .get (guild ).getQotwConfig ();
You can’t perform that action at this time.
0 commit comments