Socket
Socket
Sign inDemoInstall

boomcron

Package Overview
Dependencies
177
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    boomcron

boomcron


Version published
Maintainers
2
Created

Readme

Source

boom-cron

boomcron -v

[start|stop|restart|status|conf|tab|logs|enable|disable]

boomcron status

boomcron start|stop|restart

boomcron conf - открыть boomcron-конфиг в nano для редактирования

boomcron tab - открыть текущее расписание тасок

В виде таблицы, если расписание хранится в Mysql

id  label      cmd                                       maxtime  maxmemory  schedule         enabled
--  ---------  ----------------------------------------  -------  ---------  ---------------  -------
1   platforms  php cli platforms updateVkVideosPlays     5m       1G         */10 * * * * *   1      
2   campaigns  php cli campaigns import                  2m       1G         0 * * * * *      1      
3   platforms  php cli platforms updateVkPlatformsStats                      0 * * * * *      1      
4   platforms  php cli platforms updateSitesStats                            0 * * * * *      1      
5   platforms  php cli platforms updateAlexaRank                             0 0 0 * * 5      1      
6   platforms  php cli platforms updateVkPostsInfo                           0 * * * * *      1      

В nano, если расписание хранится в JSON файле

  GNU nano 2.2.6        Файл: /home/dima/.boomcron/tab.json                     

[
        {
                "cmd"       : "ping viboom.com",
                "schedule"  : "*/10 * * * * *",
                "maxtime"   : "5s",
                "maxmemory" : "3M",
                "enabled"   : 1
        }
]

                             [ Прочитано 9 строк ]
^G Помощь    ^O Записать  ^R ЧитФайл   ^Y ПредCтр   ^K Вырезать  ^C ТекПозиц
^X Выход     ^J Выровнять ^W Поиск     ^V СледCтр   ^U ОтмВырезк ^T Словарь

boomcron logs - отобразить логи в реалтайме

boomcron enable 33 - включить таску с id 33

boomcron enable 66 - отключить таску с id 66

Keywords

FAQs

Last updated on 02 Nov 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc