Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Michael Murtaugh ee4f56acf6 gulp pirms 4 gadiem
..
README.scripts gulp pirms 4 gadiem
curl gulp pirms 4 gadiem
dump_db gulp pirms 4 gadiem
flock-test gulp pirms 4 gadiem
get_entries_from_log gulp pirms 4 gadiem
make_password gulp pirms 4 gadiem
make_snap gulp pirms 4 gadiem
restore_snap gulp pirms 4 gadiem
run_if_needed.pl gulp pirms 4 gadiem
track2fact gulp pirms 4 gadiem
unupdate_dbs gulp pirms 4 gadiem
update_db gulp pirms 4 gadiem

README.scripts

update_db [-m <module>] <filename> <dbname>

    adds items in the file <filename> to the db with
    the basename <dbname>.  if -m <module> is specified that
    module is used rather than AnyDBM_File.

    file is of the form provided in ../files/infobot-is.txt
    which is to say

       <key> => <value>

    one per line, and <dbname> is something like infobot-is
    
    if the db doesn't exist, it will be created.  if it does
    exists, the entries will be added, potentially overwriting
    entries that exists with the same key.

    NOTE: skips lines that do not contain a => ... you can
    add comments this way.

dump_db [-m <module>] <dbname>

    turns the db into a flat ascii file of the form above.
    try e.g.
 
       dump_db infobot-is
       dump_db -m DB_File infobot-is.db

run_infobots.pl

    you'll need to edit this script to give the right home
    directory, but this is for crontabbing the infobot.  it
    will run it if it's not already running.  this is not
    highly tested!  YMMV.