I have Jar file to run in Linux using this command:
java -jar SyslogAgent_01.jar 192.168.2.154 1998 D:/apachelog.log ApacheLog 13
Can anyon
While it is not recommended to sudo items like this, it can be accomplished by the following:
sudo crontab -e
Place the following in the cron:
@reboot java -jar SyslogAgent_01.jar 192.168.2.154 1998 D:/apachelog.log ApacheLog 13