https://github.com/vikkio88/mashtru
mashtru shared hosting limited scheduled task capabilities
https://github.com/vikkio88/mashtru
framework-agnostic php scheduled-job scheduled-tasks shared-hosting
Last synced: 11 months ago
JSON representation
mashtru shared hosting limited scheduled task capabilities
- Host: GitHub
- URL: https://github.com/vikkio88/mashtru
- Owner: vikkio88
- Created: 2017-02-05T18:50:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-08T21:45:11.000Z (over 9 years ago)
- Last Synced: 2025-03-24T18:50:12.446Z (about 1 year ago)
- Topics: framework-agnostic, php, scheduled-job, scheduled-tasks, shared-hosting
- Language: PHP
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mashtru
[](https://travis-ci.org/vikkio88/mashtru)
**mashtru** will manage scheduled task on shared hosting (and everywhere else really)
## Problem
Shared php web hosting, usually give you a limited number of scheduled task script (from 1 to 5), and if you need you app to perform some async cron jobs, and you dont want to forget about [single responsibility principle](https://en.wikipedia.org/wiki/Single_responsibility_principle), you will just need to **mashtru**.
## Hook script
Set the only scheduled task to be the ```hook.php``` script, which will be something like this
```php
fire();
```
and imagine to have a job si defined in the file ```DosomeStuff.php```
```php