Skip to content

Commit fc0ce9e

Browse files
committed
remove invalid PostConstruct
1 parent 88dd63e commit fc0ce9e

File tree

1 file changed

+0
-3
lines changed
  • src/main/java/net/javadiscord/javabot/systems/qotw/jobs

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
import java.util.Optional;
2626
import java.util.Set;
2727

28-
import javax.annotation.PostConstruct;
29-
3028
/**
3129
* Job which posts a new question to the QOTW channel.
3230
*/
@@ -43,7 +41,6 @@ public class QOTWJob {
4341
* @throws SQLException if an SQL error occurs
4442
*/
4543
@Scheduled(cron = "0 0 9 * * 1") // Monday, 09:00 UTC
46-
@PostConstruct
4744
public void execute() throws SQLException {
4845
for (Guild guild : jda.getGuilds()) {
4946
GuildConfig config = botConfig.get(guild);

0 commit comments

Comments
 (0)