Hello,
I've been trying to use sipp in a cron job. For some reason it doesn't work
at all. The script runs fine outside of cron, but then in cron, nothing
happens. I've narrowed down the problem to sipp by testing only sipp.
Here is the command I run in cron:
/usr/bin/sipp -m 1 -sn uac 127.0.0.1 > /tmp/a_log.log
So:
* * * * * /usr/bin/sipp -m 1 -sn uac 127.0.0.1 > /tmp/a_log.log
This outputs nothing to a_log.log even though the command is run. It is as
if sipp was never called.
/var/log/syslog:
Jan 27 20:00:01 beta /USR/SBIN/CRON[32764]: (root) CMD (echo `/usr/bin/sipp
-m 1 -sn uac 127.0.0.1` >/tmp/a_log.log)
Additionally, I have noticed that if I put sipp in the background:
/usr/bin/sipp -m 1 -sn uac 127.0.0.1 > /tmp/a_log.log &
Sipp stops completely.
Basically I'm stymied. Do I have to write a script that execs/forks sipp
with -bg and then joins it when it finishes? Is that the only way? :-(
I am running on Ubuntu and the version it installs is:
Sipp v1.1pre-with-TLS, built Dec 29 2005, 16:43:17.
Thanks,
-Lukas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users