Comments (5)
work in progress.
current state:
- [ADD] Status(is_active) to grid and cron edit
- [ADD] new actions enable & disable in grid
todo: - write tests
- handle enabling crons without default frequency
from magento2-cronjobmanager.
@tbaden where can we find this WIP? Since this issue is years old, I'm guessing the code won't be that relevant anymore, but I'd like to work on this to improve it like @schmengler suggested.
We used to use the Kiwicommerce one and that has/had this functionality. It would be fairly easy to port it: https://github.com/kiwicommerce/magento2-cron-scheduler/blob/master/Model/Job.php#L130
from magento2-cronjobmanager.
Ok this was actually a lot easier than thought, I could re-use a bunch of code.
Disabling was just setting the cron expression to empty, and re-enabling it is basically thesame as restoring to system defaults.
See #202
from magento2-cronjobmanager.
One thing I found is that because of the custom renderer I added to show disabled jobs, it now shows certain jobs as disabled but they aren't. That is because of #201. So we should actually fix and merge that one before merging this.
Edit; also fixed in #203
from magento2-cronjobmanager.
This has been implemented in #202 which landed in v2.2.0
from magento2-cronjobmanager.
Related Issues (20)
- Magento 2.4 support HOT 7
- Dashboard entries don't show any information HOT 1
- Assets
- Component\Filters class replaces the original one with missing values HOT 1
- Add "Job-Code" to Filter in Adminhtml HOT 1
- SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock. HOT 2
- Get the ID of the admin user that scheduled the currently running job? HOT 6
- Compatible with PHP 8.1 HOT 2
- PHP 8.1: Deprecated Functionality: Optional parameter $jobId declared before required parameter $jobCode
- PHP 8.1 | Deprecated Functionality: Function strftime() is deprecated... HOT 10
- Magento 2.4.5 - Status Column (html.js) not working HOT 4
- PHP 8.2 / Magento 2.4.6 support HOT 2
- "Required parameter 'theme_dir' was not passed" when I dispatch now a cronjob in backend HOT 3
- Add Total time column in the management grid HOT 3
- Add a feature to reporting "missing" job HOT 4
- Sort by group results in Zend_Db_Statement_Exception HOT 4
- 2.1.0 Not Compatible With Magento < 2.4.6 HOT 8
- Can't execute action Schedule Now Cron Job in Grid Mass Action HOT 2
- Support config_path for cron expressions HOT 2
- PHP 8.3 Support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magento2-cronjobmanager.