Status
Not open for further replies.

carpman

Active Member
Sep 12, 2001
44
0
306
Hello, i setup a couple of cron jobs in cpanel but they don\'t seem to be working.

I logged into consol as with account name and password and type crontab -e the cronjobs are there but i cannot seem to edit or get out of crontab, it is not the normal pico interface i get when i do crontab -e as su.

How can i test cronjob working and get accounts other than su/root to use pico to edit cronjobs.

I know the commands i need running are ok as they worked when run from consol

[Edited on 10/25/01 by carpman]
 

zex

Well-Known Member
Aug 12, 2001
98
0
306
cPanel Access Level
Root Administrator
[quote:73ca51c0b5] [/quote:73ca51c0b5]
I logged into consol as with account name and password and type crontab -e the cronjobs are there but i cannot seem to edit or get out of crontab, it is not the normal pico interface i get when i do crontab -e as su.

[quote:73ca51c0b5] [/quote:73ca51c0b5]
You probobly got vi or some vi clone for EDITOR variable in shell.
If you are using tcsh or csh you can setup pico for default editor with
setenv EDITOR pico
in bash use
export EDITOR pico
 

carpman

Active Member
Sep 12, 2001
44
0
306
Thanks, if i type pico at the consol for user account then pico comes up so pico is working for that account, or are you saying that pico might no be associated to crontab for that account?
If so how would associated pico with crontab?


[quote:a8b5cad682] [quote:a8b5cad682] [/quote:a8b5cad682]
I logged into consol as with account name and password and type crontab -e the cronjobs are there but i cannot seem to edit or get out of crontab, it is not the normal pico interface i get when i do crontab -e as su.

[quote:a8b5cad682] [/quote:a8b5cad682]
You probobly got vi or some vi clone for EDITOR variable in shell.
If you are using tcsh or csh you can setup pico for default editor with
setenv EDITOR pico
in bash use
export EDITOR pico
[/quote:a8b5cad682]
 
S

SACHIN

Guest
cronjob status

Hello,


how to test cronjob is working or not?
is there any script which will test cronjob for example sending the mail every 5 minutes so that we can check the crond status


thank you,



:confused:
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,462
25
473
Go on, have a guess
Don't dig up a 4 year old thread, please.

You can check what cron jobs are running and when in /var/log/cron

Closing this ancient thread now.
 
Status
Not open for further replies.