Jeroen De Meerleer
||2 days ago|
|.github/issue_template||2 days ago|
|assets||3 weeks ago|
|bin||2 months ago|
|config||3 weeks ago|
|migrations||2 months ago|
|public||2 months ago|
|src||3 weeks ago|
|templates||1 week ago|
|translations||1 week ago|
|.env.sample||2 months ago|
|.gitignore||2 months ago|
|LICENSE.md||1 year ago|
|README.md||6 months ago|
|composer.json||6 days ago|
|composer.lock||4 days ago|
|install.sh||2 months ago|
|package-lock.json||4 weeks ago|
|package.json||3 weeks ago|
|symfony.lock||1 month ago|
|vite.config.js||2 months ago|
(c) 2017-2018, 2021- Jeroen De Meerleer email@example.com
Webcron management is an easy-to-use interface to manage cronjobs running on a publicly available http-location.
Rewrite is currently beta-quality. Production-use is possible, but use with caution. Personally, I'm using it myself already in a production-like environment.
- Datepicker (Tempus dominus v6) is currently alpha-quality software. Altough the dev states it is usable
Requirements for web-server
- php <= 8.0
- ext-pcntl (highly recommended)
- MySQL/MariaDB or SQLite
- Ability to change the webroot directory
- Ability to run a script as daemon (eg. supervisor or systemd units)
Requirements for build-server
- php <= 8.0 (incl composer <= 2)
- NodeJS <= 14.0 (incl. npm <= 7)
Please run following command on the build server
$ composer install --no-dev --optimize-autoloader $ npm install $ npx build prod $ rm -rf node_modules # Node modules are only required for building
All configuration can be found in .env.sample. Please copy this to file to .env and change its values
First follow the build and configuration instructions. If you don't follow them correctly Webcron Management won't work correctly
- Create your database and import the storage/database.sql file into the database
- Create a first user by inserting a first record to the users table (Password is hashed using the HASHING_METHOD in your .env)
- Set up your webhosting to use the
/publicdirectory as web root
- Upload the repository to the webserver
- Set up the daemon script using systemd, supervisord or similar system
- If this is not possible running the daemon using a cronjob is still possible using below gist (Not recommended)
0 * * * * cd /path/to/webcron/ && php webcron daemon --time-limit=3600 > /dev/null 1&>2
The webcron interface should now work as expected.
Cronjobs are not running
Did you edit the crontab?
I can't do an automatic system upgrade!
Doing a system upgrade requires sudo which has a certain number security measurements. To enable running anything with sudo (eg.
sudo apt dist-upgrade -y) the user needs to be able to run sudo without tty and password.