![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I have a task that at one point calls for a batch file to be run. This batch file simply executes a php script to clean up a text file. It is acting strangely. It seems every morning I have to edit the step by browsing to the scripts location and then save it again for it to work properly. The next morning when the task runs it doesn't seem to execute the script until I manually edit the step as explained above. Anyone else experience this or know a work around? Thanks in advanced... Jeff After some more testing, it breaks when I close the program. Here is a scenario: 1. Start Automation Anywhere (AA), run task, it fails to run the script. 2. Manually edit the step the script is executed by browsing to the script and save the task. 3. It will run successfully, I tested it 10 times, all ran good. 4. I close AA. 5. I open AA back up again and run the task, the script step doesn't work. 6. Go back to step 2 and manually edit the script step. The task is attached, the step in question is step 7. runPhp2.bat is the batch file that is simply: php CleanHarrgdFile2.php >> SCOS_Servtronics.txt Simply, executes a php script that cleans up a text file and appends it to a template txt file. Last edited by jcurtiss7492; 12-06-2011 at 06:57 AM. Reason: add more info |
| |||
| Quote:
I`ve had similar issues where the path the file I was trying to call was on a networked location and every so often it would just fail to access the file. It turned out that AA didn`t love the fact I was pointing to a local drive which was mapped to the network location. I changed the path to the full network path and have no problems since. |
![]() |
| Thread Tools | |
| Display Modes | |
| |