nicoren / cron-bundle Goto Github PK
View Code? Open in Web Editor NEWCron schedule integration for symfony.
License: MIT License
Cron schedule integration for symfony.
License: MIT License
Description
I would be able to list every registered job by CronBundle.
Prerequisite
I'm connected using ssh client and my current path is the root path of my symfony environment.
Use case
As an administrator, i want to get job list managed by CronBundle.
When i execute the command "php bin/console cron:job:list"
then a table containing jobs information is displayed with the following informations for each job :
when php bin/console cron:run will be executed, every jobs every jobs with schedule property corresponding with current time will be executed concurrently by server.
As an administrator,
i would like to know running time of each process run by cron:run command.
Add column duration
** Expected result :**
Job Id Job name status Duration
60848d3be99a6651e4790ad2 test Success 10m
** Actual result :**
Job Id Job name status
60848d3be99a6651e4790ad2 test Success
Description
I would be able to enable a registered job.
Prerequisite
I'm connected using ssh client and my current path is the root path of my symfony environment.
Use case
As an administrator, i want to enable cron job.
When i execute the command "php bin/console cron:job:enable {job_id}"
then the job status change to disable.
Hello,
When I try to execute the doctrine:mongodb:schema:create
command, I receive this error :
Error in specification { key: { name: -1 }, unique: false, safe: false, background: false, name: "name_-1" } :: caused by :: The field 'safe' is not valid for an index specification. Specification: { key: { name: -1 }, unique: false, safe: false, background: false, name: "name_-1" }
It seems the value true
set on "safe" has been deprecated (removing this line resolve the error).
Module version : 1.0.1
Describe the bug
Actually running pids are stored using symfony cache component. If cache is flushed or duration or process is longer than cache retention Time, the process is may be launched.
To Reproduce
Steps to reproduce the behavior:
Run process with long Time duration
Expected behavior
This process cannot be runned before thé previous run is completed
** Solution **
Creatte somme adapters to store pids:
A tag will be added to tag adapters. Adapters would be added from external bundle.
Description
I would be able to disable a registered job.
Prerequisite
I'm connected using ssh client and my current path is the root path of my symfony environment.
Use case
As an administrator, i want to disable cron job.
When i execute the command "php bin/console cron:job:disable {job_id}"
then the job status change to disable.
Use configured timezone in symfony configuration.
Steps to reproduce (*)
When job is must run at 00:00, and symfony
Expected result (*)
Job run at 00h00 UTC+1
Actual result (*)
Job run at 00h00 UTC
Write unit test for non regression testing.
As administrator i would like to acceed to job report.
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.