Run java class in cron

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mudassar83
    New Member
    • Nov 2007
    • 9

    Run java class in cron

    Hi,
    I want to run java class in cron.
    how can I do this...?

    reply me ASSP
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by mudassar83
    Hi,
    I want to run java class in cron.
    how can I do this...?

    reply me ASSP
    Not sure what ASSP is, but I'd recommend running it like you'd run any java program from the command line. (man java?)

    Comment

    • heat84
      New Member
      • Nov 2007
      • 118

      #3
      Do you have any idea of how you can run an executable or a non-executable on the shell.Can you also use crontab ? If not then read about it. Can you copy and paste what you had written in your crontab ,.

      Comment

      • mudassar83
        New Member
        • Nov 2007
        • 9

        #4
        Originally posted by heat84
        Do you have any idea of how you can run an executable or a non-executable on the shell.Can you also use crontab ? If not then read about it. Can you copy and paste what you had written in your crontab ,.
        Thx..
        I had a problem with classpath setting . But now I have done it sucessfully...

        Comment

        Working...