PHPackages                             vikkio88/mashtru - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. vikkio88/mashtru

ActiveLibrary[Queues &amp; Workers](/categories/queues)

vikkio88/mashtru
================

A framework-agnostic php library usefull to manage scheduled tasks on shared webhosting or not

v1.0.1(9y ago)038[2 issues](https://github.com/vikkio88/mashtru/issues)MITPHP

Since Feb 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/vikkio88/mashtru)[ Packagist](https://packagist.org/packages/vikkio88/mashtru)[ RSS](/packages/vikkio88-mashtru/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

mashtru
=======

[](#mashtru)

[![Build Status](https://camo.githubusercontent.com/5f23ec562fd2d1daddd13772c0ecf1bfe2e71a28734897b52ce5d3d12d4b0631/68747470733a2f2f7472617669732d63692e6f72672f76696b6b696f38382f6d6173687472752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/vikkio88/mashtru)

**mashtru** will manage scheduled task on shared hosting (and everywhere else really)

Problem
-------

[](#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
-----------

[](#hook-script)

Set the only scheduled task to be the `hook.php` script, which will be something like this

```
