help - where is my crontab files?

Hello, please bear with me - i am not a server/linux guy, so my terms/language may be off.

I took over someone else's 2 web project - and we are currently migrating servers. The migration guy asked me to run crontab -l so that he can see what are the cronjobs on the system.

I logged in as root, and immediately run crontab - l , but what seems to come back to me is ntpdate instead.

I *know* that the two web projects have their own cronjobs, however, no matter where i go in the terminal (using putty), crontab -l gives me the same result.

The two webprojects live in their own vhosts? folders?
Am i running the crontab -l in the wrong directory? or is there something else? Some google search mentions a system cronjob and user cronjobs, and it seems I've stumbled in on the system cronjobs instead. How do I see user cronjobs?

Thanks...!
NeverEndingFlashStoriesAsked:
Who is Participating?
 
Gerwin Jansen, EE MVETopic Advisor Commented:
crontab files are here:

/var/spool/cron

one file per user
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
or su as that 'webprojects' user and then do "sudo -l"
0
 
NeverEndingFlashStoriesAuthor Commented:
Hi Gerwin, thanks for the quick response.

So to reiterate :

If the user who managed the two webprojects have been using root, and in /var/spool/cron there is a cron file? called root, then i guess the crontab - l i used did *correctly* return the setting for both projects. ?
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
NeverEndingFlashStoriesAuthor Commented:
Well, i think that is it. The migration guy didn't complain about the stuff i sent him, so. Thanks :)
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
Yes, root would have a file in there as well, I'd be surprised to see that a 'webprojects' application would run as root because this is not secure.
0
 
NeverEndingFlashStoriesAuthor Commented:
Yeah, I asked the old programmer - and he said he had done cronjobs as root. I guess i am glad we are migrating now, hopefully the new guys would do it more securely!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.