Skip to content

Commit ac80927

Browse files
committed
Only schedule Engage sync job in production
1 parent b00086f commit ac80927

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

routes/console.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@
1919

2020
Schedule::command('horizon:snapshot')->everyFiveMinutes();
2121
Schedule::command(CacheSchedulerRunning::class)->everyMinute();
22-
Schedule::job(new SyncEngagePurchaseRequests())->timezone('America/New_York')->dailyAt('06:00');
22+
Schedule::job(new SyncEngagePurchaseRequests())
23+
->timezone('America/New_York')
24+
->dailyAt('06:00')
25+
->environments('production');

0 commit comments

Comments
 (0)