Page 4 of 4 FirstFirst ... 234
Showing results 31 to 38 of 38

Thread: M2000 - schedule query

  1. #31
    Member Reputation: 154
    Join Date
    2011-04-19
    Posts
    276


    Default Re: M2000 - schedule query

    Quote Originally Posted by K4CrUt View Post
    Thanks prends, this way that i want to do. My Question is how we can do scheduled task without administrator privileges, is that possible?

    BR,

    Hello there,

    If we are talking about M2000, you need to set the permissions by the administrator. Concerning the format it is a csv file.



    Regards,

  2. #32
    VIP Member Reputation: 1118
    Join Date
    2011-01-26
    Posts
    1,074


    Default Re: M2000 - schedule query

    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

  3. #33
    Senior Member Reputation: 498
    Join Date
    2008-08-14
    Posts
    3,070


    Default Re: M2000 - schedule query

    Quote Originally Posted by jimjim View Post
    Most probably it will be saved on the server itself. If you like I can provide a simple ftp script to transfer it to another destination.

    Regards,
    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?

  4. #34
    VIP Member Reputation: 1050 tester's Avatar
    Join Date
    2009-11-06
    Location
    404 - Not found
    Posts
    637


    Default Re: M2000 - schedule query

    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

  5. #35
    Senior Member Reputation: 498
    Join Date
    2008-08-14
    Posts
    3,070


    Default Re: M2000 - schedule query

    no in my case, they are always start with:
    pmresult_

  6. #36
    Users Awaiting Email Confirmation Reputation: 332
    Join Date
    2009-01-25
    Posts
    348


    Default Re: M2000 - schedule query

    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

  7. #37
    Senior Member Reputation: 498
    Join Date
    2008-08-14
    Posts
    3,070


    Default Re: M2000 - schedule query

    Quote Originally Posted by sabila View Post
    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 didn't get you..
    Please explain to me how to do it?

  8. #38
    Users Awaiting Email Confirmation Reputation: 332
    Join Date
    2009-01-25
    Posts
    348


    Default Re: M2000 - schedule query

    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

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •