Skip to content

Commit

Permalink
Check for ended subscriptions back to every hour
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico237 committed Jan 12, 2020
1 parent 058ddab commit 131beb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ app.get('/politique-confidentialite/', (req, res) => {
// Toute les heure à 0 minute
// '* * 1 * *' tous les mois ?
// '* * * * *'
cron.schedule('*/10 * * * * *', async () => {
// cron.schedule('0 * * * *', () => {
// cron.schedule('*/10 * * * * *', async () => {
cron.schedule('0 * * * *', async () => {
// Chaque heure à 0 (01:00, 15:00, etc)
// TODO: Ecrire fonction pour ecriture de log
// TODO: Envoi de mail à chaque commerce passant en mode desactivé (user & admin)
Expand Down

0 comments on commit 131beb1

Please sign in to comment.