Skip to content

Commit

Permalink
GITBOOK-207: change request with no subject merged in GitBook
Browse files Browse the repository at this point in the history
  • Loading branch information
manast authored and gitbook-bot committed Oct 9, 2024
1 parent f17317c commit 07012e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gitbook/guide/job-schedulers/repeat-strategies.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Below is the supported format for cron expressions in cron-parser:

This format includes the optional second field, which is not typically available in standard cron schedules, allowing for even more precise scheduling.

Cron expressions are quite powerful as in they support seemless handling timezone differences and daylight saving time transitions, crucial for tasks that depend on local times. And also because of the use of special characters to denote specific days or things like the last day of the month, providing flexibility for monthly and weekly tasks. 
Cron expressions are quite powerful as in they support seemless handling timezone differences and daylight saving time transitions, crucial for tasks that depend on local times. And also because of the use of special characters to denote specific days or things like the last day of the month, providing flexibility for monthly and weekly tasks.

If you are new to Cron expressions, [Wikipedia](https://en.wikipedia.org/wiki/Cron) is an excelent starting point to learn how to use them.

Expand All @@ -79,7 +79,7 @@ const myQueue = new Queue('my-cron-jobs', { connection });
await myQueue.upsertJobScheduler(
'weekday-morning-job',
{
cron: '0 0 9 * * 1-5', // Runs at 9:00 AM every Monday to Friday
pattern: '0 0 9 * * 1-5', // Runs at 9:00 AM every Monday to Friday
},
{
name: 'cron-job',
Expand Down

0 comments on commit 07012e6

Please sign in to comment.