[Solved] Increase Job History - VisualCron - Forum

Community forum

faulk
  •  faulk
  • No customer Topic Starter
2010-09-17T11:30:58Z
On 2010-09-14 09:48, Clément Gruyer wrote:
Hello, actually we can't see more than 2 days of job history. How can we increase this.
Regards



Hi,

currently, to see older you have to look in the log file. We will create a new job and task history soon. Please make a request in the Feature requests forum and we will email you back when it is ready.


best regards,

Henrik
Support
http://www.visualcron.com 
ErikC
2010-09-17T15:29:35Z
Hi Faulk,

What I do is using notifications.
Every task has a file notification writing the active task name, duration, result and error.
The name of the logfile is de current date and the name of the active job.

If you give every task this notification on complete you have the logs you need.

Don't forget to clean up the logs!

Regards,
Erik
Uses Visualcron since 2006.
FRBVCAdmin
2010-10-18T23:12:15Z
ErikC wrote:

Hi Faulk,

What I do is using notifications.
Every task has a file notification writing the active task name, duration, result and error.
The name of the logfile is de current date and the name of the active job.

If you give every task this notification on complete you have the logs you need.

Don't forget to clean up the logs!

Regards,
Erik



Hi Erik,

Can you elaborate further please on your use of notifications. I would also like to see some good job history. What I'm curious about is most of these notifications want something filled in for the message/body. Where is the trigger here? How are you getting the error messages into the Event Viewer or File or SQL notifications?

Cheers,
Greg
ErikC
2010-10-19T08:09:14Z
OK, This is what I use:

- Create a file notification.
- Enable 'Append to file'.
- File path: F:\LOGS\{JOB(Active,Name)}-{DATEFORMAT(yyyyMMdd)}.txt
- Message body:
{TASK(Active,Name)}
Result:         {TASK(Active,Result)}
Last run:       {TASK(Active,LastRun,M/d/yyyy h:mm:ss.ff tt)}
Last exited:    {TASK(Active,LastExited,M/d/yyyy h:mm:ss.ff tt)}
Execution time: {TASK(Active,ExecutionTime)} seconds
------------------------------------------------------------------------------------------------------------------
Output:
{TASK(Active,StdOut)}
---------------
Error output:
{TASK(Active,StdErr)}
------------------------------------------------------------------------------------------------------------------

- Place a checkbox at 'Notify on complete' on every task.

In the F:\LOGS folder you get text files for every day.
This can become a big folder, so I created a job to solve this:

- Create a job that runs every day at 11:59:59PM
- Create an Archive task
- It is a compress / Zip task
- Archive path: F:\LOGS\history\{JOB(Active,LastRun,yyyyyMMdd)}_LOG.zip
- Content is: *.txt from the F:\LOGS path

Every output is captured this way and you can go back into the history by opening a ZIP file in the history folder.

Hope this helpes you.

Regards
Erik
Uses Visualcron since 2006.
FRBVCAdmin
2010-10-20T00:36:37Z
Thank you Erik! If we would also like to see a configurable (# of days displayed) history view within VisualCron, should I make a separate request? Cheers, Greg
ErikC
2010-10-21T07:52:53Z
gwheeler wrote:

Thank you Erik! If we would also like to see a configurable (# of days displayed) history view within VisualCron, should I make a separate request? Cheers, Greg


In the past I believe there were more dates in the dropdown (Isn't it Henrik?). Why having a dropdown if there is only one date in there? You see two dates... I see only one.

So I believe you make a request for this, but this post should be enough I think.


Regards,
Erik
Uses Visualcron since 2006.
Support
2010-10-21T08:23:14Z
True Erik, it was partly removed when we launched version 5. Instead we will provide a better log, that is focused on Jobs and Tasks - not general log information.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
ErikC
2010-10-21T08:39:46Z
Also true,

faulk / gwheeler,
I'm not even looking at the logs anymore trough the client.
If I have troubles I look in my own logs folder, or in the logs folder of VC, that's does it for me.
I'm pretty sure you find everything this way.


Regards,
Erik
Uses Visualcron since 2006.
cstump
2010-10-21T19:22:04Z
I would like to see this feature as well....longer history available in the Job Log UI.

Chuck
cstump
2011-04-18T21:47:11Z
Has the history been increased yet?

I am using the latest release and I can still only see about a day's worth of history in the "Historic - general" tab in the log viewer.


Support
2011-04-18T22:07:14Z
cstump wrote:

Has the history been increased yet?

I am using the latest release and I can still only see about a day's worth of history in the "Historic - general" tab in the log viewer.




Go to settings. It is by default capped at 2000 entries or 14 days. You can change this in settings.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top