Issue Description
Even though the customer had read/write privileges on his VRL folder on a separate server (and we could move files to and from it) Chronicall refused to pull files from it.
This workaround will allow you to pull files from the VRL folder using Task Scheduler and a batch file.
Resolution
Steps
- Map a network drive to z: from the Recording Library server so that you have access to the VMPro's VRL folder (https://support.microsoft.com/en-us/help/4026635/windows-map-a-network-drive)
- If the network drive was mapped using a user account instead of an Admin account you will need to make that drive available in order for the batch file to utilize it
- Open a command prompt and run the following command:
-
net use z: \\<VMPro IP address>\<shared folder>
- For example: net use z: \\192.168.0.5\vrl
- Create a batch file
- Open up Notepad and input the following line of code -
move z:\VRL\*.wav "e:\VM Pro Recordings"
Note: The quotes on the second file path should only be used if there is a space in your folder name - This line of code will cut all of the .wav files from the designated file path and will paste them into the second file path. These paths should be changed according to where your files are coming from/going to.
2C. Select File -> Save As... and save this file as a .bat file
- Open up Notepad and input the following line of code -
- Use Task Scheduler (a default Windows program) to make the batch file run at regular intervals
- Open up Task Scheduler and select Create Task
- Inside of Create Task, you will need to make several changes to the different tabs. Firstly, make sure to have it "Run whether the user is logged in or not" and to "Run with the highest privileges". You can name and describe it however you like.
- Next, you will select a New Trigger for when the program will run.
- In the Triggers menu, you will choose when and how often the Task will run. With calls actively coming in, I would recommend that you set it to repeat the task at least every half hour, indefinitely.
- Following the Trigger, you will need to define what Action will be performed. Select New... to create the Action
- Under new action you will point it towards the new batch file you created.
Make sure that the batch file is in a location where it won't accidentally be deleted! - Lastly, under the Settings tab, you can further define the behavior of the Task. I've included a screenshot of the ones that are recommended so that you give the task the best chance at running optimally.
- Open up Task Scheduler and select Create Task
- Once these steps are complete you can test your batch file by running it manually. You can also manually run the task to make sure Task Scheduler will run it for you by selecting it in the Task Scheduler Library and selecting Run.