Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skeeks-cms/cms-agent
Agents for SkeekS CMS
https://github.com/skeeks-cms/cms-agent
Last synced: 22 days ago
JSON representation
Agents for SkeekS CMS
- Host: GitHub
- URL: https://github.com/skeeks-cms/cms-agent
- Owner: skeeks-cms
- License: bsd-3-clause
- Created: 2016-04-17T12:24:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-12T17:01:32.000Z (10 months ago)
- Last Synced: 2024-11-13T14:41:35.483Z (about 2 months ago)
- Language: PHP
- Homepage: http://cms.skeeks.com
- Size: 101 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Agents for SkeekS CMS
===================================Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist skeeks/cms-agent "*"
```or add
```
"skeeks/cms-agent": "*"
```Configuration app
----------```php
'bootstrap' => ['cmsAgent'],
'components' =>
[
'cmsAgent' => [
'class' => 'skeeks\cms\agent\CmsAgentComponent',
'onHitsEnabled' => true
],'i18n' => [
'translations' =>
[
'skeeks/agent' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@skeeks/cms/agent/messages',
'fileMap' => [
'skeeks/agent' => 'main.php',
],
]
]
]
],'modules' =>
[
'cmsAgent' => [
'class' => 'skeeks\cms\agent\CmsAgentModule',
]
]```
How to enable execution on cron agents
----------------#### Configuration app
```php
'components' =>
[
'cmsAgent' => [
'class' => 'skeeks\cms\agent\CmsAgentComponent',
'onHitsEnabled' => false
],
]```
#### Cront task
```bash
* * * * * cd /var/www/sites/you-site.com/ && php yii cmsAgent/execute
```Links
------
* [Web site](https://cms.skeeks.com)
* [Author](https://skeeks.com)
* [ChangeLog](https://github.com/skeeks-cms/cms-agent/blob/master/CHANGELOG.md)___
> [![skeeks!](https://skeeks.com/img/logo/logo-no-title-80px.png)](https://skeeks.com)
SkeekS CMS (Yii2) — quickly, easily and effectively!
[skeeks.com](https://skeeks.com) | [cms.skeeks.com](https://cms.skeeks.com)