Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP6:Update
sarg
cron.sarg
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cron.sarg of Package sarg
#!/bin/sh # # Copyright (c) 2007 SuSE Linux Products GmbH, Nuernberg, Germany. # # Please submit bugfixes or comments via http://www.suse.de/feedback/ # # Author: Klaus Singvogel, 2007 # # # # paranoia settings # umask 022 PATH=/sbin:/bin:/usr/sbin:/usr/bin export PATH CRON_DIR=`echo "$0" | cut -d '/' -f 3` CRON_FREQ=`echo "$CRON_DIR" | cut -d '.' -f 2` case "$CRON_FREQ" in daily) ;; montly) ;; weekly) ;; *) echo "Failed to determine cron frequency" 1>&2 exit 1 ;; esac # # get information from /etc/sysconfig # if [ -f /etc/sysconfig/sarg ] ; then . /etc/sysconfig/sarg fi if [ -n "$RUN_SARGREPORT" -a "$RUN_SARGREPORT" = "yes" -a \ -x /usr/sbin/sarg-reports ]; then /usr/sbin/sarg-reports "$CRON_FREQ" fi exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor