https://github.com/squallstar/paperboard-engine
Paperboard PHP Api
https://github.com/squallstar/paperboard-engine
Last synced: about 1 year ago
JSON representation
Paperboard PHP Api
- Host: GitHub
- URL: https://github.com/squallstar/paperboard-engine
- Owner: squallstar
- Created: 2014-08-01T15:53:55.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-01-29T11:40:44.000Z (over 10 years ago)
- Last Synced: 2025-01-26T13:13:05.212Z (over 1 year ago)
- Language: PHP
- Homepage: http://rails.paperboard.me
- Size: 925 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cronycle HHVM APIs
## Workers
To install the scripts, copy the content of the **application/workers** folder into **/etc/init** directory of your Unix machine.
To start the workers:
sudo service cronycle start
To kill them:
sudo initctl emit cronycle-stop
View the running processes
ps -aux | grep php
root 3118 0.2 0.3 271288 14092 ? Ss 11:03 0:00 /usr/bin/php /home/httpd/squallstar/hhvm/index.php service start_tweets_downloader
root 3120 0.2 0.3 271288 14028 ? Ss 11:03 0:00 /usr/bin/php /home/httpd/squallstar/hhvm/index.php service start_followers_updater
root 3122 0.1 0.3 271288 14032 ? Ss 11:03 0:00 /usr/bin/php /home/httpd/squallstar/hhvm/index.php service start_downloader
To kill a single process (downloader, tweets, followers)
sudo stop service.cronycle.com service="downloader"
## Engine
To restart the engine:
sudo initctl emit cronycle-stop && sudo webrestart && sudo service cronycle start