neelkanthk / laravel-schedulable Goto Github PK
View Code? Open in Web Editor NEWSchedule and unschedule eloquent models elegantly without cron jobs
License: MIT License
Schedule and unschedule eloquent models elegantly without cron jobs
License: MIT License
Assume you have E-commerce site probably you will want to schedule deletion an updation of discount table how can I perform that by using this package.
Hello,
I'm using your awesome library to schedule posts on my blog, however I'm stuck on the admin side. I have scheduled posts and unscheduled posts (published or drafted), but when I'm trying to edit a scheduled post it returns 404, which is the the way your package works.
Is there a way to bypass your usual Trait behaviour on the route side ? Maybe say to this route specifically to ignore the schedule trait, because I can't get it done on controller side.
I'm open to suggestions to try to figure this one out.
Have a nice day.
Hi,
Thanks for this awesome package.
I have a note regarding Model records fetching, I think it's a wrong idea to affect the standard query which get all rows.
The best / correct way to use the package :
$posts = App\Post::get(); // keep the standard method to get all records
$posts = App\Post::expiredScheduled()->get(); // to get expired scheduled records
$posts = App\Post::nextScheduled()->get(); // to get future scheduled records
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.