Hi all,
In the docs it says to start up a hdb I need to first start q and then use the \l command. This seems rather manual - how can I script this behavior for a cron job?
Cheers,
Kefa
Hi all,
In the docs it says to start up a hdb I need to first start q and then use the \l command. This seems rather manual - how can I script this behavior for a cron job?
Cheers,
Kefa
You can runq db -(cmd line args)To load the rootSame as \l dbhttp://code.kx.com/wiki/JB:KdbplusForMortals/kdbplus_database#1.6.3_Creating_and_Loading_a_Kdb.2B_DatabaseCheersOn Tue, Jun 21, 2016 at 11:30 PM, kefa > wrote:Hi all,In the docs it says to start up a hdb I need to first start q and then use the \l command. This seems rather manual - how can I script this behavior for a cron job?Cheers,Kefa–
Submitted via Google Groups
q script.q 2>1 1>>/somelog </dev/null
Pe 22 iun. 2016 06:30, “kefa” <keithwong8@gmail.com> a scris:
Hi all,
In the docs it says to start up a hdb I need to first start q and then use the \l command. This seems rather manual - how can I script this behavior for a cron job?
Cheers,
Kefa
–
Submitted via Google Groups