Schedule not working

Avatar
  • updated

I'm running WLE on an internal server.   I have a copy script that copies the IIS and Apache logs to a network folder every Saturday morning.  That copy is usually done in less than an hour.  I have WLE scheduled to run every Saturday afternoon, 4 hours after the log copy.  The log file says it started, but i get no confirmation or completion in the logs, and no errors.  When I open a report it goes through and analyzes for hours like the schedule never ran.

Image 77

To test i put in my ntaccount for the scheduler's username/pass.  I have full access to that network folder and that didn't make a difference.

Also on the report Home page where it lists all the reports, it gives an error Cannot show the report: profile database is corrupted.  This is on the first report in the list that should have been scheduled.  If i go to analyze it process all the logs files.

So what good is the schedule option?  Am i doing something wrong?

Avatar
Michael

Does it work if you schedule just one of the profiles? Please also check that you use a network (UNC) path, mapped drives won't work with the schedule.

Avatar
tracy olsen

I've dug into this a bit more.  I actually tested the single profile suggestion Monday i think it was and it worked fine.  What I've come to find in the mean time since creating this post is the folder "dump" that is being used for the log files goes back to 2015.  So WLE is analyzing 7 years of logs or so, and that is taking 3 or 4 hours for a profile.  On Friday i set the schedule to run every saturday, and started it manually,  at this point in time, it's about half way through the list of profiles.  So now it's just a waiting game until it crunches through all the other profiles and the 7 years of logs for each.  

After they're all analyzed the next schedule should only take a few minutes to analyze the new log files, correct?  Or will it run through all 7 years again?

Avatar
Michael

If you just add new files without changing (removing/archiving) the existing ones, the program should be able to just add new files. However, you may consider creating separate profiles for the last month or few months (e.g. this year only) in the profile properties if you don't need to review older data.