https://github.com/rakshitbharat/queuefy
This package will take care of Queue from Cron Job it self.
https://github.com/rakshitbharat/queuefy
background-jobs command command-based-queue cronjob laravel-queue queue-from-crontab scheduler supervisor
Last synced: 3 months ago
JSON representation
This package will take care of Queue from Cron Job it self.
- Host: GitHub
- URL: https://github.com/rakshitbharat/queuefy
- Owner: rakshitbharat
- License: mit
- Created: 2020-02-25T06:45:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-23T14:53:07.000Z (5 months ago)
- Last Synced: 2025-01-24T01:02:58.066Z (4 months ago)
- Topics: background-jobs, command, command-based-queue, cronjob, laravel-queue, queue-from-crontab, scheduler, supervisor
- Language: PHP
- Size: 29.3 KB
- Stars: 11
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Queuefy
[](https://packagist.org/packages/rakshitbharat/queuefy)
[](https://scrutinizer-ci.com/g/rakshitbharat/queuefy)
[](https://packagist.org/packages/rakshitbharat/queuefy)Queuefy is a versatile package designed to facilitate queue handling directly from cron jobs, ideal for environments with specific constraints. Whether you're on a shared server, lacking supervisor config file access, or unable to install supervisor, Queuefy offers a robust solution. It's perfect for those who can manage cron jobs but face restrictions with more traditional queue management approaches.
## Features
- **Simple Integration**: Easy to set up with just a few commands.
- **Versatile Usage**: Works on shared servers and environments without supervisor.
- **Custom Queue Support**: Offers the ability to add custom queue commands via environment variables.## Installation
Install Queuefy with Composer to streamline queue management on your server:
```bash
composer require rakshitbharat/queuefy
```## Usage
To use Queuefy, simply run the following command from your console. This will initiate a single queue thread:
```bash
php artisan queue:work --timeout=0
```For custom queue commands, add your preferred command to your `.env` file like so:
```
QUEUE_COMMAND_AFTER_PHP_ARTISAN="your_custom_command"
```TO STOP RUNNING OF QUE, add your preferred command to your `.env` file like so:
```
by Default it will be false
STOP_QUEUE=true
```This is especially useful for shared hosting environments, or when you're unable to use traditional supervisor configurations for queue management.
## Changelog
For a detailed history of changes and improvements, refer to the [CHANGELOG](CHANGELOG.md).
## Contributing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. Please see [CONTRIBUTING](CONTRIBUTING.md) for guidelines on how to get involved.
### Security
If you encounter any security issues, please send an email to [email protected] instead of using the public issue tracker.
## Credits
- [Rakshit Patel](https://github.com/rakshitbharat) - **Project Lead**
- [All Contributors](../../contributors) - **Special Thanks**## License
Queuefy is open-sourced software licensed under the [MIT License](LICENSE.md). Feel free to explore, modify, and distribute as you see fit.