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
383eb9b2
Commit
383eb9b2
authored
Mar 06, 2012
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added cronjob
parent
96a29667
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
cronjob
cronjob
+22
-0
No files found.
cronjob
0 → 100644
View file @
383eb9b2
#!/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
=
$MEMBRI
/images
THEMELIBS
=
$PLANETSRC
/themes/light/libs
# 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
cd
$PLANETSRC
;
./planet.py
-v
2
>
/tmp/planet.log 2>&1
# Update the www
cp
-ax
$PLANETSRC
/output/
*
$PLANETWWW
/
cp
-ax
$THEMELIBS
$PLANETWWW
cp
-ax
$MEMBRIFACES
$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