Skip to content

libexec_cron: Import sbin scripts from projects #295

Merged
merged 1 commit into from Jan 17, 2023
Merged

Commits on Jan 16, 2023

  1. libexec_cron: Import sbin scripts from projects

    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 #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 regard 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.
    donald committed Jan 16, 2023
    Copy the full SHA
    0708053 View commit details
    Browse the repository at this point in the history