Hi,
I tried to 'cron' a small script using username 'ookla' as indicated below but is facing problem running. This should enable a 'pingserver' to run on tcp/udp port 8080
However manual starting the 'daemon' confirms it works.
I wonder if I am missing something on my 'cron' job?
Please assist...
Best regards,
Waqa
I tried to 'cron' a small script using username 'ookla' as indicated below but is facing problem running. This should enable a 'pingserver' to run on tcp/udp port 8080
# crontab -u ookla -l
Code:
* * * * * ~/pingtest.sh 2>&1
However manual starting the 'daemon' confirms it works.
Code:
$ java -jar Server.jar --tcpPort 8080 --udpPort 8080
LOG Mon, 28 Nov 2011 12:52:13 +1200 MAIN No IP Specified, will use: xxx.xx.25.245
LOG Mon, 28 Nov 2011 12:52:13 +1200 MAIN Start UDP Thread
LOG Mon, 28 Nov 2011 12:52:13 +1200 MAIN Start TCP Listener
LOG Mon, 28 Nov 2011 12:52:13 +1200 S-TCP Listening on port: 8080
Please assist...
Best regards,
Waqa