Task-manager is a Laravel system for managing tasks on your server. It functions as an interface for cronjobs
and executes tasks in the background, whether it's a Linux script, a PHP file, or a specific command on your production server. It can run on both dedicated and shared servers.
Service | Provider | Status |
---|---|---|
Dedicated Hosting | Hostinger | ✅ |
Shared Hosting | Hostinger | ✅ |
Premium Hosting | Hostigator | ✅ |
Shared Hosting | Hostigator | ✅ |
Dedicated Hosting | Digital Ocean | ✅ |
To install, the following requirements are needed:
- PHP version 8.2 or higher
- Composer version 2.7 or higher
- cURL installed
- Database: sqlite3, MySQL, PostgreSQL, or MongoDB
- Clone this repository or download it to your server.
- Install the dependencies with composer:
composer install --no-interaction --prefer-dist --optimize-autoloader
- Create a
.env
file from the.env.example
file:
cat .env.example >> .env
- Generate an application key:
php artisan key:generate
- Run the system migration
php artisan migrate
After installation, the system is accessible via the installation URL.
To access the panel, use the route /manager
.
However, the system still needs to be configured. For the system to function, you need to point only 1 cronjob to the endpoint /supervisor
with cURL
or wget
. This way, the system internally executes the command app:supervisor
, which keeps the registered processes and services running continuously according to the configuration and interval set.
- NOTE: To ensure that the Manager's services remain always running, it is recommended to use a 1-minute interval for the cronjob.
Example to set cronjob
* * * * * curl https://[your-taskmanager-domain.com]/supervisor
Change [your-taskmanager-domain.com] for your task-manager application domain.