Projects
jsj
jsj-installtools
PrepareUpdateCrontab
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PrepareUpdateCrontab of Package jsj-installtools (Revision 11)
Currently displaying revision
11
,
Show latest
#!/bin/bash zypper -n in -l yast2-online-update-configuration egrep cron.hourly /etc/crontab if [ ! $? ]; then cat - >> /etc/crontab << EOF 59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly 14 0 * * * root rm -f /var/spool/cron/lastrun/cron.daily 29 0 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly 44 0 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly EOF fi ( crontab -l; echo "0 5 * * * zypper -n up --auto-agree-with-licenses" ) | \ egrep -v "^#" | crontab -
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.