We need to see the script from louisville_quads_file.txt in order to figure out why only first 3 lines are loaded. : I'm using the following script in order to run a script that is generated on : daily changeing information. The problem is that the JobModify SCRIPT : command only loads 3 lines of the script, which i have read into a string : at the start called "script". What is wrong? : // Create new job object : Dim job_id, number : Dim script,string : JobCreate( job_id ) : FileReadAll("S:\\Website Clients\\Inventory\\Web Photo Retrieval : System\\louisville_quads_file.txt",script) : // Setup properties for the new job : // Specify generic job properties : JobModify( job_id, "NAME", "Louisville Web Photo : Retrieval" ) : JobModify( job_id, "DESCRIPTION", "This jobs retrieves : Louisville DSP images from the web" ) : JobModify( job_id, "JOB_TYPE", "S" ) : JobModify( job_id, "ASYNC", "Y" ) : // Specify job schedule : JobModify( job_id, "SCHEDULE_TYPE", "O" ) : JobModify( job_id, "SCRIPT_TYPE", "JAL" ) : JobModify( job_id, "DISABLE_ON_ERROR", "Y" ) : JobModify( job_id, "SCRIPT", script ) : // Specify Execution Notifications : JobModify( job_id, "MSG_ACCOUNT", "address@domain.net" ) : JobModify( job_id, "MSG_ERROR", "Y" ) : JobModify( job_id, "MSG_RECIPIENT", "address@domain.com" : ) : // Enable new job : JobEnable( job_id, TRUE ) : JobRun(job_id)
|