Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mahara-scripts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
mahara
mahara-scripts
Commits
922aa899
Commit
922aa899
authored
Jul 06, 2011
by
Richard Mansfield
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Log time of template updates and reduce frequency
parent
dfb0675d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
debian/custom-site-mahara-langpacks.cron.d
debian/custom-site-mahara-langpacks.cron.d
+1
-1
mahara-langpacks/update-pot.sh
mahara-langpacks/update-pot.sh
+3
-0
No files found.
debian/custom-site-mahara-langpacks.cron.d
View file @
922aa899
...
...
@@ -2,5 +2,5 @@
#
Regular
cron
jobs
for
the
custom
-
site
-
mahara
-
langpacks
package
#
22
*
*
*
*
maharabot
[
-
x
/
usr
/
lib
/
mahara
-
langpacks
/
langpacks
.
sh
]
&&
/
usr
/
lib
/
mahara
-
langpacks
/
langpacks
.
sh
>>
/
var
/
log
/
mahara
-
langpacks
/
langpacks
.
log
2
>&
1
52
*
*
*
*
maharabot
[
-
x
/
usr
/
lib
/
mahara
-
langpacks
/
update
-
pot
.
sh
]
&&
/
usr
/
lib
/
mahara
-
langpacks
/
update
-
pot
.
sh
>>
/
var
/
log
/
mahara
-
langpacks
/
update
-
pot
.
log
2
>&
1
52
7
*
*
*
maharabot
[
-
x
/
usr
/
lib
/
mahara
-
langpacks
/
update
-
pot
.
sh
]
&&
/
usr
/
lib
/
mahara
-
langpacks
/
update
-
pot
.
sh
>>
/
var
/
log
/
mahara
-
langpacks
/
update
-
pot
.
log
2
>&
1
mahara-langpacks/update-pot.sh
View file @
922aa899
...
...
@@ -5,6 +5,9 @@
# this is expected to define DATA, SCRIPTS, DOCROOT
.
/etc/mahara-langpacks.conf
echo
-n
"Checking for changes to strings "
date
"+%Y-%m-%d %H:%M:%S"
if
[
!
-w
${
DATA
}
]
;
then
echo
"
${
DATA
}
not writable"
exit
1
...
...
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