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
ae1a3897
Commit
ae1a3897
authored
Mar 06, 2012
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved cronjob
parent
876a4f8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
cronjob
cronjob
+8
-3
No files found.
cronjob
View file @
ae1a3897
...
@@ -5,8 +5,9 @@ PLANETSRC=$PLANET/planet
...
@@ -5,8 +5,9 @@ PLANETSRC=$PLANET/planet
BZR
=
$PLANET
/bzr
BZR
=
$PLANET
/bzr
PLANETBZR
=
$BZR
/planet-bzr
PLANETBZR
=
$BZR
/planet-bzr
MEMBRIBZR
=
$BZR
/membri
MEMBRIBZR
=
$BZR
/membri
MEMBRIFACES
=
$MEMBRI
/images
MEMBRIFACES
=
$MEMBRI
BZR
/images
THEMELIBS
=
$PLANETSRC
/themes/light/libs
THEMELIBS
=
$PLANETSRC
/themes/light/libs
LOGFILE
=
/tmp/planet.log
# Update planet source
# Update planet source
cd
$PLANETBZR
;
bzr pull
;
cp
-ax
*
$PLANETSRC
cd
$PLANETBZR
;
bzr pull
;
cp
-ax
*
$PLANETSRC
...
@@ -14,9 +15,13 @@ cd $PLANETBZR ; bzr pull ; cp -ax * $PLANETSRC
...
@@ -14,9 +15,13 @@ cd $PLANETBZR ; bzr pull ; cp -ax * $PLANETSRC
cd
$MEMBRIBZR
;
bzr pull
;
cp
-ax
config.ini
$PLANETSRC
cd
$MEMBRIBZR
;
bzr pull
;
cp
-ax
config.ini
$PLANETSRC
# Run planet udpate
# Run planet udpate
cd
$PLANETSRC
;
./planet.py
-v
2
>
/tmp/planet.log 2>&1
echo
"
#########################################################
New planet log:
`
date
`
"
>>
$LOGFILE
cd
$PLANETSRC
;
./planet.py
>>
$LOGFILE
2>&1
# Update the www
# Update the www
cp
-ax
$PLANETSRC
/output/
*
$PLANETWWW
/
cp
-ax
$THEMELIBS
$PLANETWWW
cp
-ax
$THEMELIBS
$PLANETWWW
cp
-ax
$MEMBRIFACES
$PLANETWWW
cp
-ax
$MEMBRIFACES
$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