Skip to content

Commit

Permalink
adjust cron for message history (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
bthomas2622 authored Jan 2, 2024
1 parent 071de03 commit 796a941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ client.once(Events.ClientReady, async () => {
});

// schedule channel activity summary for the past month to run on first of every month
schedule.scheduleJob("2 0 1 * *", async () => {
schedule.scheduleJob("2 0 2 * *", async () => {
try {
const theFeedChannel = client.channels.cache.find(channel => channel.name.toLowerCase() === "the-feed");
const dateForHistory = new Date();
Expand Down

0 comments on commit 796a941

Please sign in to comment.