About Schedule setting

Avatar
  • updated
  • Answered
If I don't set the schedule runs, can the program updated the reports automatically?
If can, how to do that? Please provide the method. Thanks.
Avatar
Michael
You can also use the command line mode of the program, you can find information on it at http://www.weblogexpert.com/help/wlex...

E.g. you can use it to run the program automatically from a script/batch file, or you can use an external scheduler like Windows Task Scheduler instead of the built-in scheduler to run the analysis automatically.
Avatar
Chan Jacqueine
standard and batch,how to use this two command line modes? Would you mind step by step to show me about it? Thank you.
Avatar
Michael
If you just need to analyze one profile, you should use the standard command line mode. E.g. if WebLog Expert is installed in the "C:\Program Files\WebLog Expert\" folder and you need to analyze the "My Profile" profile, you need to use the following command line:

"C:\Program Files\WebLog Expert\WLExpert.exe" "My Profile"

If you need to analyze all your profiles, you can use the following command line:

"C:\Program Files\WebLog Expert\WLExpert.exe" *
("*" will match all profiles in this case).

It is also possible to specify the -s parameter so the program won't show error dialogs, for example:

"C:\Program Files\WebLog Expert\WLExpert.exe" "My Profile" -s
Avatar
Chan Jacqueine
If I don't set the "Time Range", for examples: "Yesterday", "Last 7 full days", "Last 12 full months". If there are new logs, will the program also anlalyze all files and updates the report automatically that I no need to press anykey to run the schedule?

Also, how about the "Pre-Processing " and "Post-Processing" setting? Need to set something? Please indicate. Thanks.

And then I got the following error when I type the command line in the Parameters.↓↓↓
Avatar
Michael
If you don't set the time range, the program will update the report when you click the Analyze button. It will need to analyze new files to do it.

Pre-Processing and Post-Processing shouldn't be used in most cases unless you need tp perform custom tasks before and after analysis.

You shouldn't use the command line if you use the built-in scheduler, you should use it if you wish to use an external scheduler or run the program from a .bat file or script.
Avatar
Chan Jacqueine
But I just enter the command line: "C:\Program Files(x86)\WebLog Expert\WLExpert.exe" as parameters in the Action of the Schedule Setting. The error "C:\Program Files(x86)\WebLog Expert\WLExpert.exe doesn't exist." was happened. How can I fix it?
Avatar
Michael
If you use the built-in scheduler, you don't need to specify program path, you just need to enter parameters, for example:



However, if you just need to analyze a profile, you don't need to use this mode. You should just choose the "Analyze specified profile" mode:



As I understand, there are problems with using the built-in scheduler as whe you run the program from it, it cannot access the network; so you wish to automate analysis another way. In such case you can use the command line mode, but not with the built-in scheduler (it won't fix the issue), but with any external scheduler, e.g. Windows Task Scheduler.