Hi Myself Prasad a COLDFUSION programmer. I have one doubt regarding <cfschedule> tag's functionality. I want to schedule a ".vbs"(vbscript) file with the help of this tag. Is this possible??? bcoz wht I have read about <CFSCHEDULE> tag is - 'This tag Can run a CFML page at scheduled intervals'. Please help me. If this is not possible then Can we pass parameter to ".bat" file from cfml page?? Any idea or suggetion on this will be greatly appreciated!!!!!!
I think you may be able to do this with the cfexecute tag like this: <cfexecute name="C:\Windows\system32\cscript.exe" arguments="C:\vbscripts\Script.vbs"> </cfexecute>
Thanks a lot... It worked!!!! The only changes which I made is I had execute schtasks.exe and passed command line arguments to it to schedule a vbs file. Thnx a lot again....