-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b261a5
commit e02731d
Showing
5 changed files
with
70 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
gitbook/docs/managing-jobs/manually-working/repeatevery-10.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Enable | ||
|
||
|
||
|
||
## `job.enable()` | ||
|
||
{% hint style="info" %} | ||
The `enable` method sets a job's status to active, allowing it to be run by the job processing system. This is useful for resuming the execution of a job that was previously halted without removing it from the job queue. | ||
|
||
\ | ||
_This does **NOT** save the job in the database. you must explicitly declare_ [_`save()`_](save.md)_if you want to save it_ | ||
{% endhint %} | ||
|
||
### Example Usage | ||
|
||
{% code fullWidth="false" %} | ||
```typescript | ||
const job = pulse.create('test', {}); | ||
job.enable(); | ||
job.save(); // If you want to save it | ||
``` | ||
{% endcode %} | ||
|
||
### Parameters | ||
|
||
|
||
|
||
\ | ||
|
||
|
||
### Returns | ||
|
||
* **`Job`**: Returns the job instance, enabling method chaining. This allows for further modifications to the job or chaining additional method calls. | ||
|
||
\ | ||
|
||
|
||
\ | ||
|
||
|
||
\ | ||
|
||
|
||
|
||
|
18 changes: 8 additions & 10 deletions
18
gitbook/docs/managing-jobs/manually-working/repeatevery-7.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e02731d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pulse Test Report