cron jobs dont work after username change

NNNils

Well-Known Member
Sep 17, 2002
580
0
166
After username change cron jobs do not work anymore.

Any idea how to fix it?

cPanel.net Support Ticket Number:
 

ciphervendor

Well-Known Member
Aug 26, 2002
1,050
0
166
It could be that the actual cron entries have the old username in them? Have you checked to make sure there is a cron file in /var/spool/cron/ ? Try doing crontab -e -uUSERNAME to make sure everything is the way it should be.

cPanel.net Support Ticket Number:
 

NNNils

Well-Known Member
Sep 17, 2002
580
0
166
The customer seems to has solved it himself, don't know how exactly...

cPanel.net Support Ticket Number:
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
I know what it could have been.

A while back I changed the username of one of my accounts and later realized my scripts were using paths including the username. Obviously they had to be corrected.

cPanel.net Support Ticket Number: