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

S

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,444
Messages
2,571,709
Members
48,796
Latest member
Greg L.
Top