Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 29 days ago
JSON representation

mashtru shared hosting limited scheduled task capabilities

Awesome Lists containing this project

README

        

# mashtru
[![Build Status](https://travis-ci.org/vikkio88/mashtru.svg?branch=master)](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