Difference between revisions of "Concord/DataBaseSave"

From s23
Jump to navigation Jump to search
imported>DrOwl
m (reformat)
imported>mutante
m
Line 1: Line 1:
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
Line 13: Line 13:
 
  nhSchedule -schedule "Ascii-DB-Save" -time "2:00 AM" -daily ûyyyyyyy
 
  nhSchedule -schedule "Ascii-DB-Save" -time "2:00 AM" -daily ûyyyyyyy
  
 +
--> See [[Concord]]
 +
 +
<customrc>Concord</customrc>
  
 
[[Category:Concord]]
 
[[Category:Concord]]

Revision as of 09:58, 12 March 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

--> See Concord

<customrc>Concord</customrc>