diff --git a/app/marketing/management/commands/sync_mail.py b/app/marketing/management/commands/sync_mail.py index b437df4554b..b8541fbf131 100644 --- a/app/marketing/management/commands/sync_mail.py +++ b/app/marketing/management/commands/sync_mail.py @@ -118,7 +118,7 @@ def sync_mailchimp_list(eses, list_id): def push_to_mailchimp(): print('- push_to_mailchimp') client = MailChimp(settings.MAILCHIMP_API_KEY, settings.MAILCHIMP_USER) - created_after = timezone.now() - timezone.timedelta(hours=2) + created_after = timezone.now() - timezone.timedelta(hours=12) eses_funder = EmailSubscriber.objects.filter( active=True, created_on__gt=created_after, diff --git a/scripts/crontab b/scripts/crontab index 98dbe9871ee..5f9d910919a 100644 --- a/scripts/crontab +++ b/scripts/crontab @@ -43,7 +43,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/us ## GITCOIN MARKETING -30 */2 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash sync_mail >> /var/log/gitcoin/sync_mail.log 2>&1 +30 */12 * * * cd gitcoin/coin; bash scripts/run_management_command_if_not_already_running.bash sync_mail >> /var/log/gitcoin/sync_mail.log 2>&1 35 14 * * 1,6 cd gitcoin/coin; bash scripts/run_management_command.bash remarket_bounties >> /var/log/gitcoin/remarket_bounties.log 2>&1 35 11 * * 0,4 cd gitcoin/coin; bash scripts/run_management_command.bash remarket_bounties >> /var/log/gitcoin/remarket_bounties.log 2>&1 45 10 * * * cd gitcoin/coin; bash scripts/run_management_command.bash expiration >> /var/log/gitcoin/expiration_bounty.log 2>&1