Skip to content

dcabrejas/php-task-runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Task Runner

This is useful when you have to run multiple maintenance tasks on a cron in a server

Usage

Set up the cron :

0 4 * * 1-4 /usr/bin/php-7.0 /home/www-data/___scripts/nightly/index.php  1>> /home/www-data/___scripts/nightly/logs/debug.log 2>> /home/www-data/___scripts/nightly/logs/error.log

You can add new tasks in the task folders, every task goes into one php file. Every php file inside tasks will be picked up and run by the index.php file.

About

Run a list of tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages