this is possible to run schedule task on Huawei M2000, or using NASTAR and PRS to make easier
this is possible to run schedule task on Huawei M2000, or using NASTAR and PRS to make easier
If this document usefull, then giving some reputations is highly appreciated.
note : see default password
Dear jimjim,
OSS team has created schedule for me, but
/export/home/omc/var/fileint/pm/
always contains hundereds of files that starts with same name (it's very time consuming to search to get my required file)
Do you know smart way to transfer it to another destination or rename it to be unique and easy to find among thousand files?
As I remember (I'm not sure) the structure of /export/home/omc/var/fileint/pm/ is like this FDN_of_NE/date_time.zip
So it should be not so hard to get necessary files.
Knowledge should be free
no in my case, they are always start with:
pmresult_
justdream
like what tester said
like this
pmresult_1275072534_60_201111230000_201111230100.csv
pmresult_numbercounterthatcontainyourdata_countcycle_date.csv
so you can parsing by _
i used php to automatic ftp ad save it to database
i explode(parsing name by char) "_"
then i grab the second array
first array is pmresult
secod array is numbercounterthatcontainyourdata
so if you want just only want to download exact file then you can use like this
1.first you need to fid the latest folder or the second folder(yesterday pmresult)
2.you must read all file from those folder
3.separate name by explde with char "_"
4.if contain with xxxxx then download to you server
ofcourse this need scripting
Bookmarks