Skip to content

Commit 8395b18

Browse files
Rescheduled QOTWCloseSubmissionsJob
1 parent b41b118 commit 8395b18

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/main/java/net/javadiscord/javabot/systems/help/HelpExperienceJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 {

src/main/java/net/javadiscord/javabot/systems/qotw/QOTWCloseSubmissionsJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/main/java/net/javadiscord/javabot/systems/qotw/QOTWJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

src/main/java/net/javadiscord/javabot/systems/qotw/QOTWReminderJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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();

src/main/java/net/javadiscord/javabot/systems/qotw/QOTWUserReminderJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)