ACeDB data update via cron/expect/tace
Dave Matthews
matthews at GREENGENES.CIT.CORNELL.EDU
Mon Oct 3 14:25:31 EST 1994
> dtailor at crc.ac.uk says:
> I wish to update ACeDB databases via cron jobs and not via interactive means.
> Has anyone attempted to do this?
Hi Dilip, I do this by sending tace the commands via the csh "<<" operator.
(Not my idea, I saw other people using it.) E.g.:
#!/bin/csh
# ~/ggscrps/loadace, DEM 7/22/94
# "loadace <file>" loads ~/xgraingenes/rawdata/<file> into the database.
echo Loading file $file
/home/grains/textxgg <<DONE
parse /home/grains/xgraingenes/rawdata/$file
quit
DONE
, where /home/grains/textxgg is a script that sets $ACEDB and invokes tace.
regards,
- Dave
P
More information about the Acedb
mailing list