[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: cron/at question.



> Three questions:
> 
> 1) both cron and at seem to run programs in the background. However there
> is no pid when I do a ps aux, so how do I stop a job from running?

if a program is running, it will have a pid

> 2) can cron or at jobs be run as one-liners? Eventually I want to write a
> perl of sh script (not that I know how, but I want to try) incorporating
> one of the two. For cron you need to use an editor to write the command, at
> comes with its own prompt.

if you need one liners, at is the command to use.

> 3) how can I change the default editor for cron. vi is too cumbersome for me.
> 

set and export the variable EDITOR in your .bashrc.



Reply to: