PHPackages                             snanword/task\_tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. snanword/task\_tools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

snanword/task\_tools
====================

Crontab Task management tools

v1.1(6y ago)21MITPHPPHP &gt;=5.6CI failing

Since Apr 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/SnanBY/crontab-task-tools)[ Packagist](https://packagist.org/packages/snanword/task_tools)[ Docs](https://github.com/SnanBY/task_tools)[ RSS](/packages/snanword-task-tools/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

\#A lightweight crontab task management tool

.env configuration file
-----------------------

[](#env-configuration-file)

```
[TASK_CONFIG] //Whether the command line outputs error messages
DEAMON = false
TASK_NAMESPACE = '\SnanWord\TaskTool\task\'  settion your task namespace
MODE = 'think' //If thinkphp class library is used in the task, please add this item, otherwise do not add

[REDIS] //redis configuration file
host = 127.0.0.1
password = 'sxsaio!2js'
port = 23904
database = 1

[TASK_LIST] //All tasks must be added to this configuration item in this format
auto_receipt_task = 1
test_task => 0

```

Make Task
---------

[](#make-task)

1:Write Task code

```
