You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$schedule->command('scheduledaction:reset')->dailyAt('12:01'); // resets previously finished recurring tasks' status that needs to run today, skip this if your app doesn't need recurring task handling
53
53
```
54
54
55
+
#### ✔️ Use the `HasActions` trait in your models
56
+
```php
57
+
use Devsrv\ScheduledAction\Traits\HasActions;
58
+
59
+
class Candidate extends Model
60
+
{
61
+
use HasFactory, HasActions;
62
+
63
+
...
64
+
}
65
+
```
66
+
55
67
### 💡 Note :
56
68
- This package creates two tables `model_actions` and `model_action_recurring`
57
69
- Every task has 4 satatus `PENDING``FINISHED``CANCELLED``DISPATCHED`
0 commit comments