Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
trspaete
Contributor II
Contributor II

Scheduled Task run versus a Manual Task Run

is there a flag in the logs that can determine if a refresh in the QMC was done by the scheduled instance or the the refreshed was manually triggered??

2 Solutions

Accepted Solutions
Chip_Matejowsky
Support
Support

Hi @trspaete,
The QlikView Distribution Service (QDS) Root log should have this information.  I setup a task named Reload and Distribution of Test reload and manually ran it and also set up a schedule trigger.

 

For a manually run task from the QMC you should see an entry like:
20210730T085815.082-0400    Information    Manual start for task "Reload and Distribution of Test reload" (c203c0ff-3b53-486c-915e-736e05da044d) requested.
20210730T085815.090-0400    Information    ManualStartTrigger[00000001-0002-0003-0405-0607080a0b0c]: PlanToGoOff - Adding new TriggerState planned for 2021-07-30 08:58:15.089, Task="Reload and Distribution of Test reload", ExecID=0b06d4d5-e96d-4651-b50a-dbae5ee6ea54

 

For a scheduled task you should see an entry like:
20210730T090000.054-0400    Information    TriggerState: Change State to Acknowledged. Task="Reload and Distribution of Test reload", ExecId=e6eec065-fc7f-483b-aa06-9516f8d99d95. DistributeTask[c203c0ff-3b53-486c-915e-736e05da044d] ("Reload and Distribution of Test reload"): TryStart - Task will be started now.
20210730T090000.149-0400    Information    ScheduleTrigger[f85e0413-5625-4ea2-af33-ae63535427fc]: PlanToGoOff - Adding new TriggerState planned for 2021-08-06 09:00:00.000, Task="Reload and Distribution of Test reload", ExecID=3bf88496-6c64-41a4-90ca-9a24b5a7cd6b

 

The QDS Root log is by default in the %ProgramData%\QlikTech\DistributionService\1\Log directory and has a naming convention of Root_yyyymmdd.txt.  If you have configured the QDS logs to be written in a different location, you can check QMC > System > Setup > Distribution Services > QDS@ > General tab > Application Data Folder, then look for the 1\Log directory.  If you have a QDS cluster you will have 1\ 2\ 3\ etc. directories depending upon the number of QDS nodes.

 

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!

View solution in original post

trspaete
Contributor II
Contributor II
Author

2 Replies
Chip_Matejowsky
Support
Support

Hi @trspaete,
The QlikView Distribution Service (QDS) Root log should have this information.  I setup a task named Reload and Distribution of Test reload and manually ran it and also set up a schedule trigger.

 

For a manually run task from the QMC you should see an entry like:
20210730T085815.082-0400    Information    Manual start for task "Reload and Distribution of Test reload" (c203c0ff-3b53-486c-915e-736e05da044d) requested.
20210730T085815.090-0400    Information    ManualStartTrigger[00000001-0002-0003-0405-0607080a0b0c]: PlanToGoOff - Adding new TriggerState planned for 2021-07-30 08:58:15.089, Task="Reload and Distribution of Test reload", ExecID=0b06d4d5-e96d-4651-b50a-dbae5ee6ea54

 

For a scheduled task you should see an entry like:
20210730T090000.054-0400    Information    TriggerState: Change State to Acknowledged. Task="Reload and Distribution of Test reload", ExecId=e6eec065-fc7f-483b-aa06-9516f8d99d95. DistributeTask[c203c0ff-3b53-486c-915e-736e05da044d] ("Reload and Distribution of Test reload"): TryStart - Task will be started now.
20210730T090000.149-0400    Information    ScheduleTrigger[f85e0413-5625-4ea2-af33-ae63535427fc]: PlanToGoOff - Adding new TriggerState planned for 2021-08-06 09:00:00.000, Task="Reload and Distribution of Test reload", ExecID=3bf88496-6c64-41a4-90ca-9a24b5a7cd6b

 

The QDS Root log is by default in the %ProgramData%\QlikTech\DistributionService\1\Log directory and has a naming convention of Root_yyyymmdd.txt.  If you have configured the QDS logs to be written in a different location, you can check QMC > System > Setup > Distribution Services > QDS@ > General tab > Application Data Folder, then look for the 1\Log directory.  If you have a QDS cluster you will have 1\ 2\ 3\ etc. directories depending upon the number of QDS nodes.

 

Best Regards

Principal Technical Support Engineer with Qlik Support
Help users find answers! Don't forget to mark a solution that worked for you!
trspaete
Contributor II
Contributor II
Author

Perfect!