ZapCron is a cron-based HTTP webhook automation tool designed to simplify task scheduling and execution for IT engineers and general users. With customizable schedules, API support, and robust logging, ZapCron makes automating webhook calls seamless and efficient.
- Customizable Schedules: Define when and how often your webhooks are triggered.
- API Support: Easily integrate with your existing applications.
- Logging: Track and debug webhook calls with comprehensive logs.
Ensure the following are installed on your system before running ZapCron:
- Bun
- Node.js
- The zapcron-scheduler must be running to enable scheduling functionality.
-
Clone the repository:
git clone https://github.com/fllaa/zapcron.git cd zapcron
-
Install dependencies:
bun install
-
Configure environment variables:
- Copy
.env.example
to.env
:cp .env.example .env
- Update the
.env
file with your configuration.
- Copy
-
Run database push migration:
bun run db:push
-
Start the application:
bun run start
- Pull the Docker image:
docker pull fallavall/zapcron:main
- Run the container with your environment variables:
docker run -d --env-file .env -p 3000:3000 fallavall/zapcron:main
ZapCron uses environment variables for configuration. Refer to the provided .env.example
file for required and optional variables. Customize it according to your needs.
Once ZapCron is running, you can define your webhook schedules and manage them through the API. Refer to the API documentation (coming soon) for detailed instructions.
Contributions are welcome! Feel free to fork the repository, make changes, and submit a pull request. For major changes, please open an issue first to discuss your ideas.
This project is licensed under the GNU General Public License (GPL). See the LICENSE file for details.
Happy automating with ZapCron!