Scheduled Jobs
Configure automated background tasks for Novigem.
Access these settings via Novigem Admin > Settings > Scheduled Jobs.
Nightly Maintenance
One scheduled job, Novigem Daily Job, shown on the Nightly Maintenance card, runs up to five batches in order.
| Order | Batch | Runs when |
|---|---|---|
| 1 | Recurring challenge reset | Always |
| 2 | Insights and coaching signals | Only when Enable Rule Engine is on |
| 3 | Streak milestones | Only when Enable Rule Engine is on and streakMilestonePoints is above 0 |
| 4 | Streak challenges | Only when Enable Rule Engine is on and a streak challenge is Active |
| 5 | Battle resolution | Only when Enable Rule Engine is on |
Recurring challenge reset resets progress for recurring challenges (weekly, monthly, quarterly) when the current period ends, and creates new progress records for the next period.
Insights and coaching signals compares each user’s recent activity against the insights thresholds and writes coaching signals for Team Pulse and the rep coaching feed.
Streak milestones awards the bonus configured in streakMilestonePoints at 3, 7, 14, 30, 60, and 100 consecutive active days.
Streak challenges sets a streak challenge back to 0 for anyone who missed a day or week. A missed day earns no points, so nothing else notices it. It also fills in streak progress that was skipped during a very large data import. Days are worked out in the time zone of the user who scheduled the job.
Battle resolution ends head-to-head battles whose end date has passed and declares the outcome: a winner, a draw, or void when a side has no active members left. Winners get the battle’s completion badge and bonus points, and a Battle Won Chatter post if that notification is on. On a daily schedule, a battle resolves within about a day of its end date.
Until this job is scheduled, no coaching signals are ever generated, battles never end, and streak challenges never reset after a missed day. Team Pulse and the rep coaching feed stay empty. Schedule it as part of setup.
The job runs as the user who scheduled it. The coaching signal batch runs in user mode, so that user needs the Novigem Admin permission set. Scheduling also requires it: the screen refuses anyone without Novigem Admin access.
Job Status
| Field | Description |
|---|---|
| Status | Whether the job is scheduled (Active, Not Scheduled). |
| Next Run | Scheduled time for the next execution. |
| Last Run | Date and time of the most recent execution, or Never. |
| Last Status | Result of the last run, as reported by Salesforce (for example Completed or Failed). |
The card also shows processing details, such as “4/4 challenges processed, 0 errors”.
These fields report the recurring challenge reset batch only. To check the other four, open Setup > Apex Jobs and look for InsightsBatch, StreakMilestoneBatch, StreakChallengeBatch, and BattleResolutionBatch.
Schedule Configuration
Enter a cron expression to define when the job runs. Default is daily at 1:00 AM.
| Setting | Description |
|---|---|
| Cron Expression | Standard cron format defining the schedule. |
Common Expressions
| Expression | Schedule |
|---|---|
0 0 1 * * ? | Daily at 1:00 AM |
0 0 0 * * ? | Daily at midnight |
0 0 6 ? * MON-FRI | Weekdays at 6:00 AM |
0 0 2 ? * SUN | Sundays at 2:00 AM |
Actions
| Button | Description |
|---|---|
| Schedule | Save the cron expression and enable the scheduled job. |
| Reschedule | Apply a changed cron expression to the job that is already scheduled. |
| Unschedule | Stop the job. Nothing runs again until you schedule it. |
| Run Now | Run the full nightly job once, immediately: the same five batches and the same kill-switch gates as a scheduled run. |
Run Now works whether or not the job is scheduled. It does not change the schedule.
Best Practices
- Schedule the job during setup. Coaching signals, battle results, and streak resets depend on it and nothing produces them before then.
- If you run daily streak challenges, schedule the job every day, weekends included. A weekday-only schedule picks up a missed Saturday on Monday.
- Schedule it as a user who holds the Novigem Admin permission set, and keep that user active.
- Schedule jobs during off-peak hours to minimize impact
- Use Run Now to check the job before relying on the schedule
- Monitor job status regularly to catch failures early
- For recurring challenges, ensure the job runs before the new period starts
- After changing the cron expression on a scheduled job, click Reschedule so the new time takes effect
Next steps
- General Settings: Configure point behaviors, tracked objects, and insights thresholds.
- Integrations: Connect Novigem to external tools.
- Challenges Field Reference: Configure recurring challenge behavior.
- Designing Effective Challenges: Learn to use seasons and resets effectively.