Page 1 of 1

Export session to file and run in scheduler

Posted: Fri Aug 13, 2010 7:24 am
by dcwifi
Hi,

I have a problem of exporting session time to txt file under scheduler.

For Example:
I have a script called "Gensession".
Policy: write,test,read and policy (I even tried tick all)
Source: /tool user-manager session print file session (I also tried /tool user-manager session print file=session)

I have a schedule set as:
Policy: write,test,read and policy (I even tried tick all)
On Event: /system script run "Gensession"

it works fine when I click RUN SCRIPT and I can see a session.txt is generated. But once i set the script run under scheduler, Run Count is counting but the script won't run.

I'm using ROS v4.10

Is there anyone have the same problem? or my setting is wrong?

Please help...

thanks...

Re: Export session to file and run in scheduler

Posted: Fri Aug 13, 2010 7:33 am
by fewi
Try setting the on event for the schedule to just "Gensession".

Re: Export session to file and run in scheduler

Posted: Fri Aug 13, 2010 7:57 am
by dcwifi
Thanks fewi~~~ it works!!!!

For anyone who has the same problem, please try:
On Event: Gensession (without "")

Question:

I have other scripts and schedule to run with the command ( On Event: /system script run "other script name" ) and it works.

Why only this script doesn't?