Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $model = Model::where(...)->first();
- $schedule->call(function () use ($model) {
- $model->field = 'sample';
- $model->field1 = 'sample';
- $model->save();
- })->daily();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement