Skip to content

Commit

Permalink
Cron schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucieo committed Mar 1, 2024
1 parent 02016a7 commit 7ef6ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back/config/functions/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = () => {
}

// Every night check for campaigns emails to send
cron.schedule(testCron, async () => {
cron.schedule(cronSchedule, async () => {
const activeCampaigns = await strapi.services.campaign.find({
is_active: true,
})
Expand Down

0 comments on commit 7ef6ded

Please sign in to comment.