Difference between revisions of "Concord/DataBaseSave"

From s23
Jump to navigation Jump to search
imported>mutante
m
imported>DrOwl
m (reformat)
Line 1: Line 1:
<pre>
 
 
 
The ASCII save command is as follows:
 
The ASCII save command is as follows:
  
nhSaveDb -p $NH_HOME/db/save/daily.tdb -ascii -u $NH_USER
+
nhSaveDb -p $NH_HOME/db/save/daily.tdb -ascii -u $NH_USER
  
 
To create the ASCII save as a job than can be scheduled use the following command
 
To create the ASCII save as a job than can be scheduled use the following command
  
nhSchedule -defineType "Ascii-DB-Save" -load 100 -cmd "nhSaveDb -p $NH_HOME/db/save/daily.tdb -ascii -u $NH_USER"
+
nhSchedule -defineType "Ascii-DB-Save" -load 100 -cmd "nhSaveDb -p $NH_HOME/db/save/daily.tdb -ascii -u $NH_USER"
  
 
You may need to set the path and user instead of the variables included above.
 
You may need to set the path and user instead of the variables included above.
Line 13: Line 11:
 
Then you can schedule it as follows
 
Then you can schedule it as follows
  
nhSchedule -schedule "Ascii-DB-Save" -time "2:00 AM" -daily ûyyyyyyy
+
nhSchedule -schedule "Ascii-DB-Save" -time "2:00 AM" -daily ûyyyyyyy
</pre>
+
 
  
 
[[Category:Concord]]
 
[[Category:Concord]]

Revision as of 17:16, 22 February 2005

The ASCII save command is as follows:

nhSaveDb -p $NH_HOME/db/save/daily.tdb -ascii -u $NH_USER

To create the ASCII save as a job than can be scheduled use the following command

nhSchedule -defineType "Ascii-DB-Save" -load 100 -cmd "nhSaveDb -p $NH_HOME/db/save/daily.tdb -ascii -u $NH_USER"

You may need to set the path and user instead of the variables included above.

Then you can schedule it as follows

nhSchedule -schedule "Ascii-DB-Save" -time "2:00 AM" -daily ûyyyyyyy