libexec_cron: Import sbin scripts from projects #295
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Import scripts, which live in projects with user access and are called
from the crontab of root, into repository and update install.sh.
The scripts are installed into /usr/libexec/cron/ with a name prefixed
with "prj_PROJECT_".
afk.molgen.mpg.de 33 7,9,11,13,15,17,19 * * * /usr/local/bin/cronwrap -m wwwutz /project/it/cron/cleanperm.sh
--> prj_it_cleanperm.sh
chimichangas.molgen.mpg.de */5 4-23 * * * /project/FlowCytometryLab/home/sbin/fix-users.pl >/dev/null 2>&1
--> prj_FlowCytometryLab_fix-users.pl
doenertier.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/ag_schulz_images/.sbin/purge_trash.sh
--> prj_ag_schulz_images_purge_trash.sh
doenertier.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/ag_schulz/.sbin/purge_trash.sh
--> prj_ag_schulz_purge_trash.sh
furoncles.molgen.mpg.de 30 21 * * * /usr/local/bin/cronwrap -m buczek /project/meissner_external_fastq/.sbin/autoarchive.pl
--> prj_meissner_external_fastq_autoarchive.pl
mercwithamouth.molgen.mpg.de 30 4 * * * /usr/local/bin/cronwrap -m buczek,giesselmann /project/minion/sbin/archiver.pl
--> prj_minion_archiver.pl
plage.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/agsgpa/.sbin/purge_trash.sh
--> prj_agsgpa_purge_trash.sh
runnynose.molgen.mpg.de 15 23 * * 6 /usr/local/bin/cronwrap -m buczek,klages -v /project/solexawork/sbin/purge_solexawork_cron
--> prj_solexawork_purge_solexawork_cron
--> prj_solexawork_purge_solexawork
snugglebites.molgen.mpg.de 10 23 * * * /usr/local/bin/cronwrap -m buczek /project/owlmayerUnpublishedData/.sbin/purge_trash.sh
--> prj_owlmayerUnpublishedData_purge_trash.sh
snugglebites.molgen.mpg.de 30 05 * * * /usr/local/bin/cronwrap -m buczek,bressin /project/owlmayerUnpublishedData/.sbin/archiver.pl
--> prj_owlmayerUnpublishedData_archiver.pl
snugglebites.molgen.mpg.de 33 7,9,11,13,15,17,19 * * * /usr/local/bin/cronwrap -m wwwutz /project/communication/home/cron/cleanperm.sh
--> prj_communication_cleanperm.sh
tinytina.molgen.mpg.de mxgrub: Tell Linux to log to serial console #10 23 * * * /usr/local/bin/cronwrap -m buczek /project/agsgpa/.sbin/purge_trash.sh
--> prj_agsgpa_purge_trash.sh
Notes:
prj_solexawork_purge_solexawork_cron calls another script, which is also
imported. prj_solexawork_purge_solexawork_cron has been modified to call
the imported script from /usr/libexec/cron/.
Scripts in packages and projects that we regards as secure
(/project/admin , /project/mx , /package/ldap etc.) are not imported.
The crontabs need to be updated to refer to installed scripts instead to
those in the projects. The scripts in the projects should be deleted to
avoid confusion.