[ilugd] How to send SIGTSTP, SIGCONt signals to a script scheduled using cron

2004-09-23 Thread Saurabh Agarwal
Hi all,
I had scheduled a script using cron and got pid of it when it is
running as it is running for a long time.The script is  somewhat like

cmd
sleep 10
cmd2
sleep  20
..
This is scheduled using cron now i want to send SIGTSTP signal to it
to suspend it
and SIGCONT to resume it but these signals are not working please help urgently.
kill -SIGTSTP pid

Thanks
-- 
Saurabh Agarwal
9868358071

___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/


Re: [ilugd] How to send SIGTSTP, SIGCONt signals to a script scheduled using cron

2004-09-23 Thread Supreet Sethi
On Thu, 2004-09-23 at 14:40, Saurabh Agarwal wrote:
 Hi all,
 I had scheduled a script using cron and got pid of it when it is
 running as it is running for a long time.The script is  somewhat like
 
 cmd
 sleep 10
 cmd2
 sleep  20
 ..

trap 

go figure out

 This is scheduled using cron now i want to send SIGTSTP signal to it
 to suspend it
 and SIGCONT to resume it but these signals are not working please help urgently.
 kill -SIGTSTP pid
 
 Thanks
HTH
Supreet


___
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/