在DolphinDB database的GUI中,下列代码成功执行:
def foo(): 3
login("admin","123456")
scheduleJob(`dailyfoofile1, "Daily Job 1", run {"/home/xjqian/testjob.dos"}, 16:14m, 2020.01.01, 2020.12.31, 'D');
但定时任务执行时,报以下异常:
Exception was raised when running the script [/home/xjqian/testjob.dos]:Syntax Error: [line #3] Cannot recognize the token foo
请问是怎么回事?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…