webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Emailed Counter

    Posted Sun January 11, 2004 11:39 PM

    Hi,
    I am trying to write a script which can be called from CRON to email me the hits of a particular site once a month.

    This is the first time I have used Unix Shell’s so please bare that in mind when responding.

    Thanks,
    Philip.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Emailed Counter

    Posted Mon January 12, 2004 07:42 PM

    Hi Philip,
    I read your post. You made a statement, but forgot to ask a question.

    Writing Unix shell scripts and calling them from WM is fine. Be sure to return something from your shell script if you want determine success or failure.

    So what’s your question?

    Jim Palmer


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: Emailed Counter

    Posted Wed January 14, 2004 12:19 AM

    Hmm, yea.
    I meant to ask how do I do this ?

    I have a little PHP script which stores the page count in a .txt file.
    So, I guess its a matter of looking that up and sending it via email, I just dont know the commands or the syntax.
    Another problem I have just realized is that my SysAdmin will not allow access to the Unix prompt, though they do seem to allow CRON jobs to be scheduled.

    Any help would be appreciated.
    Thanks,
    Phil.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods