<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem with PDFCreator 3.2.2 and Windows Task scheduler in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-PDFCreator-3-2-2-and-Windows-Task-scheduler/m-p/111799#M602869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello every body,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a bat file, who reloads a QlikView document:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\qv.exe" /l /NoSecurity "D:\XXXX\Test_PDFCreator\ExportBilder.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document ExportBilder.qvw has an after reload event, who prints a document report to PDFCreator:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;newdoc.PrintReport("RP01"), "PDFCreator", false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I plan a task with windows task scheduler to run it automaticly everyday at 2:00 am.&lt;/P&gt;&lt;P&gt;With the option "Run only when user is logged on" every thing works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as soon as i choose the option "Run whether user is logged on or not", it works no more.&lt;/P&gt;&lt;P&gt;I ger the error message in my log file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( not PDFCreatorQueue.WaitForJob(20)&amp;nbsp; ) then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL LogFunktion( "5. The print job did not reach the queue within 20 seconds: " &amp;amp; FilePathName )&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have contacted the PDFCreator people (we have bought a comercial version), but they say that such thing, even running with "Run only when user is logged on" is assumed NOT TO WORK!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has any body any idea?&lt;/P&gt;&lt;P&gt;Can any body help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much in forward &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Oct 2018 11:59:30 GMT</pubDate>
    <dc:creator>azimabadi</dc:creator>
    <dc:date>2018-10-17T11:59:30Z</dc:date>
    <item>
      <title>Problem with PDFCreator 3.2.2 and Windows Task scheduler</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-PDFCreator-3-2-2-and-Windows-Task-scheduler/m-p/111799#M602869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello every body,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a bat file, who reloads a QlikView document:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\qv.exe" /l /NoSecurity "D:\XXXX\Test_PDFCreator\ExportBilder.qvw"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The document ExportBilder.qvw has an after reload event, who prints a document report to PDFCreator:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;newdoc.PrintReport("RP01"), "PDFCreator", false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I plan a task with windows task scheduler to run it automaticly everyday at 2:00 am.&lt;/P&gt;&lt;P&gt;With the option "Run only when user is logged on" every thing works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as soon as i choose the option "Run whether user is logged on or not", it works no more.&lt;/P&gt;&lt;P&gt;I ger the error message in my log file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ( not PDFCreatorQueue.WaitForJob(20)&amp;nbsp; ) then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CALL LogFunktion( "5. The print job did not reach the queue within 20 seconds: " &amp;amp; FilePathName )&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have contacted the PDFCreator people (we have bought a comercial version), but they say that such thing, even running with "Run only when user is logged on" is assumed NOT TO WORK!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has any body any idea?&lt;/P&gt;&lt;P&gt;Can any body help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much in forward &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peyman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 11:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-PDFCreator-3-2-2-and-Windows-Task-scheduler/m-p/111799#M602869</guid>
      <dc:creator>azimabadi</dc:creator>
      <dc:date>2018-10-17T11:59:30Z</dc:date>
    </item>
  </channel>
</rss>

