KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
CronBundle
★ 11
Open GitHub ↗
:computer: A cron job manager for Symfony
Download README (.md)
Explore Similar Repositories
veles.mastodon
:
No description available.
edgerouter
:
DCOS edgerouter
Classification
:
Data classification using Accord.NET framework
fix-hostname
:
Make sure that a Mac’s LocalHostName and ComputerName match
restful
:
REST APIs made easy
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
CronBundle
?
Download (.md)
# CronBundle A cron job manager for symfony console. ## Installation A simple bundle install. No extra stuff. ```composer require padam87/cron-bundle``` ```new Padam87\CronBundle\Padam87CronBundle(),``` ## Configuration ```yaml padam87_cron: log_dir: %cron_log_dir% variables: mailto: %cron_mailto% any_other_variable_you_might_need: 'some_value' ``` ## Usage (v3) **Please note that v2 versions of this bundle still support annotations.** ### Commands - `cron:dump` dumps the cronfile - `cron:import` dumps the cronfile to the temp dir, and imports it ### Basic ```php #[Job(minute: '5', hour: '0')] class MyCommand extends Command ``` ### Groups ```php #[Job(minute: '5',hour: '0', group: 'master')] class MyCommand extends Command ``` ### Output file ```php #[Job(minute: '5', hour: '0', logFile: 'my-command.log')] class MyCommand extends Command ```