Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
planet.ubuntu-it.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
planet.ubuntu-it.org
Commits
98b4a2ec
Commit
98b4a2ec
authored
Aug 28, 2017
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused cronjob
parent
26c62017
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
cronjob
cronjob
+0
-28
No files found.
cronjob
deleted
100755 → 0
View file @
26c62017
#!/bin/bash
PLANET
=
/srv/planet.ubuntu-it.org
PLANETWWW
=
$PLANET
/www
PLANETSRC
=
$PLANET
/planet
BZR
=
$PLANET
/bzr
PLANETBZR
=
$BZR
/planet-bzr
MEMBRIBZR
=
$BZR
/membri
MEMBRIFACES
=
$MEMBRIBZR
/images
THEMELIBS
=
$PLANETSRC
/themes/light/libs
LOGFILE
=
/tmp/planet.log
# Update planet source
cd
$PLANETBZR
;
bzr pull
;
cp
-ax
*
$PLANETSRC
# Update config and members
cd
$MEMBRIBZR
;
bzr pull
;
cp
-ax
config.ini
$PLANETSRC
# Run planet udpate
echo
"
#########################################################
New planet log:
`
date
`
"
>>
$LOGFILE
cd
$PLANETSRC
;
./planet.py
>>
$LOGFILE
2>&1
# Update the www
cp
-ax
$THEMELIBS
$PLANETWWW
cp
-ax
$MEMBRIFACES
$PLANETWWW
cp
-ax
$PLANETSRC
/banners
$PLANETWWW
cp
-ax
$PLANETSRC
/output/
*
$PLANETWWW
/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment