-3

I scheduled a task (a SAS job) in Putty for next week, but this task is required to stop.

I tried killall -9 but it did not work, and the task is still existing there.

I wonder is there any way to delete this scheduled task in Putty.

Dale K
28.1k15 gold badges60 silver badges86 bronze badges
asked Jul 3, 2024 at 14:31

2 Answers 2

1

The following code removes the scheduled task:

at -r taskname
CPPUIX
2,4278 gold badges18 silver badges38 bronze badges
answered Sep 5, 2024 at 22:41
Sign up to request clarification or add additional context in comments.

1 Comment

You can accept your own answer.
0

first grap the PID of the job

ps -ef | grep sas

then kill it with

kill -9 PID

replace the PID with the PID you get from the first command

answered Jul 3, 2024 at 14:37

1 Comment

this code can only stop the running section, not the scheduled task which is not running yet

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.