Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

boomcron

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boomcron

boomcron

  • 0.2.40
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
2
Weekly downloads
 
Created
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

Package last updated on 02 Nov 2020

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc