Community discussions

MUM Europe 2020
 
dcwifi
just joined
Topic Author
Posts: 23
Joined: Thu Jan 21, 2010 7:35 am

Export session to file and run in scheduler

Fri Aug 13, 2010 7:24 am

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...
 
fewi
Forum Guru
Forum Guru
Posts: 7734
Joined: Tue Aug 11, 2009 3:19 am

Re: Export session to file and run in scheduler

Fri Aug 13, 2010 7:33 am

Try setting the on event for the schedule to just "Gensession".
 
dcwifi
just joined
Topic Author
Posts: 23
Joined: Thu Jan 21, 2010 7:35 am

Re: Export session to file and run in scheduler

Fri Aug 13, 2010 7:57 am

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?

Who is online

Users browsing this forum: No registered users and 14 guests