You are here

Scheduled Task - Bat File

3 posts / 0 new
Last post
ishmot
ishmot's picture
Offline
Last seen: 10 years 11 months ago
Joined: 2008-05-14 20:37
Scheduled Task - Bat File

In previous versions I have been able to schedule a windows task using a bat file that had the simple command "toucan Script scriptname". With 3.0.4 these bat files no longer work. What is the command that I should use in the bat file for 3.0.4 to accomplish the same thing? Thanks for your help.

jared

Steve Lamerton
Steve Lamerton's picture
Offline
Last seen: 10 years 6 months ago
Developer
Joined: 2005-12-10 15:22
Sorry

or taking so long to reply here, life has been rather busy recently for me!

In answer to your question the command line interface was redone in the 3.0 release, if you take a look in he user manual under command line you can see full details, but I think what you want is:

toucan --script="dofile(getscript([[myscriptname]]))"

ishmot
ishmot's picture
Offline
Last seen: 10 years 11 months ago
Joined: 2008-05-14 20:37
thanks

Thank you. that works. I read through the examples but for some reason wasn't getting it to work. I think I had too few brackets or something. But copying it exactly as you have it works! Thanks again.

Log in or register to post comments