this has been posted in the feature request section…but thought i'd throw the question out to the community.
Question:
Is there a way of scheduling a batch job to send an email NOW (without having to physically press the 'run now' botton) as opposed to scheduling it for a particular time in the future. i.e automatically use RUN NOW as part of the schedule batch script.?
3 comments
-
Jet Reports Historic Posts Hi!
I guess I'm having a hard time visualizing what you're asking for. Instead of clicking the Run Now button, you want to go and set a schedule which says Run now and then click the Schedule button? How would that save you time over just clicking the 'Run Now' button?
Regards,
Hughes -
Jet Reports Historic Posts Hughes,
Thanks for your response.
I want to be able to use the 'run now' botton in an unmanned situation…i.e. create an Email via Jetreport's Scheduler, but send the email immediately (hence run now) as opposed to scheduling it for a future date/time.
What will be ideal is to have the 'run now' feature built into the jetreport scheduler batch script - a feature request
I hope this makes sense.
Thanks
Jide -
Jet Reports Historic Posts Hi Jide,
Okay so I'm still not sure I understand the issue. Possibly either you're overlooking something or I am.
AutoPilot, which is the command line utility the Scheduler uses to run reports DOES run and e-mail reports immediately when it is run. If you schedule a batch script with the Scheduler, whenever that script executes, each line executed by AutoPilot will run and e-mail immediately. So in an unmanned situation, you could write a script which called AutoPilot directly to run a report (just like the Scheduler does) and e-mail it and that would happen immediately when your script is run.
The command line parameters for AutoPilot are described in the Jet Reports documentation. Alternately, you could schedule something with the scheduler, then go and look in the Windows Task Scheduler at that scheduled task and you will see the command line it is passing to AutoPilot.
Would this solve the issue for you?
Regards,
Hughes