How to run a java program on a server?

后端 未结 4 1632
说谎
说谎 2021-02-03 11:48

I have made a java application that stores data from a .csv file to a MySql database. Now my client want it to upload this application to his web space (web space he has taken f

4条回答
  •  遥遥无期
    2021-02-03 12:12

    If your webhost has java available you could try to execute it from a php cronjob without the need for ssh:

    
    

    Cron jobs are easily done from cpanel.(P.S. the above is the code for the php file it is not what you put in the cron page, you put the php -f /path/to/php/file.php in the cron page)

提交回复
热议问题