dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #31532
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16080: dhis2-tools
------------------------------------------------------------
revno: 16080
committer: Bob Jolliffe <bobjolliffe@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-07-10 19:37:56 +0100
message:
dhis2-tools
Delete keySchedtasks when cloning. Not really sure about keyScheduledTasks.
modified:
tools/dhis2-tools-deb/pkg/usr/bin/dhis2-clone
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'tools/dhis2-tools-deb/pkg/usr/bin/dhis2-clone'
--- tools/dhis2-tools-deb/pkg/usr/bin/dhis2-clone 2014-07-10 18:05:30 +0000
+++ tools/dhis2-tools-deb/pkg/usr/bin/dhis2-clone 2014-07-10 18:37:56 +0000
@@ -31,6 +31,7 @@
psql -c "reassign owned by $1 to $2" $2
# disable midnight scheduled tasks on the clone
psql -c "delete from systemsetting where name = 'keyScheduledTasks';" $2
+psql -c "delete from systemsetting where name = 'keySchedTasks';" $2
# make sure clone runs the same war file as master
dhis2-deploy-war -f /var/lib/dhis2/$1/webapps/$1.war $2