jeff
jeff

Reputation: 11

how to remove a scheduled task in Putty

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.

Just wonder is there any way to delete this scheduled task in Putty. thanks!

Upvotes: -2

Views: 69

Answers (2)

jeff
jeff

Reputation: 11

The following code removes the scheduled task:

at -r taskname

Upvotes: 1

Mustapha Moukit
Mustapha Moukit

Reputation: 21

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

Upvotes: 0

Related Questions