cron job q script with timer

27 views
Skip to first unread message

Angela

unread,
Jun 11, 2021, 4:31:19 AMJun 11
to Kdb+ Personal Developers
Hi,

I can't seem to get a q script with a timer to continue running in cron.

For example:

$ cat bin/test.q
.z.ts:{0N!.z.Z;}
\t 2000

If I run this normally it works fine. But when I try to put in in cron, it exits after one timer run. I tried using -t arg too but I can't get the timer to repeat and continue running, it just exits after one run.

I'm missing something or misunderstanding something...

thanks
Reply all
Reply to author
Forward
0 new messages