m-click/make-crontab
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
make-crontab ============ Manage different cronjobs with only one system user. Authors: Volker Grabsch, Matthias Pohl Homepage: https://github.com/m-click/make-crontab Requires: GNU Make make-crontab is used for the crontab management on servers with several web applications, where each application can edit their own cronjob information. The key feature of this system is the need of only one system user (usually the apache user) to do this job. The applications can not only edit their own cronjob informationen but also add new cronjobs without mixing up the croninfo with the other apps. In the directory make-crontab a makefile and some content files containing the cronjob informationen of each application are located. These content files are named according to the name pattern 'crontab-app1', 'crontab-app2'. The content files can be written by the applications directly. If the makefile is called, it merges all files of the pattern crontab-* to one crontab file, which will then be installed as the crontab for the system user. The makefile checks for updates on the content files and installs the crontab only if required. In order to keep this process running, the makefile must be called regularly. For this purpose an additional crontab entry starts the make crontab procedure every minute. The crontab-* files may contain special variables: @NAME@ - file name without the 'crontab-' prefix @PWD@ - absolute path to the make crontab directory Assume the file 'crontab-app2' contains: 0 8 * * * /usr/lib/@NAME@/my-important-script.sh Then the final crontab will contain: 0 8 * * * /usr/lib/app2/my-important-script.sh
About
Manage different cronjobs with only one system user
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published