
I have finally completed the scripting for the two new SFTP interfaces and also updated the technical documentation.
Both interfaces go to the same remote server, put and get files, the difference is with the scripts used and the scheduled time to run. It is simpler if the run time is always, say, 1st day of the month, every day of the week, but may not be always so. Some of the jobs are set to run on working days, if a particular run is the last day of the month, how difficult can be it to set it on the Windows scheduler? Think again, Windows scheduler only offers very simple run calendar, you have to set all this 'last working day of the month' run date manually. The other way is to write a text file, pull all the run dates, e.g. 20061010 for year 2006, month 10 and day 10 in it, then write a script to check and compare this 'run date' with the system date, and only initiate a connection to the remote server to get or put files when there's a match. Also, setup your scheduler to run this script every day.
No comments:
Post a Comment