Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I work with linux servers at my job. Previously there was an engineer that set up our PBX servers so that they send a call to land line phone. It does it every hour. I have been looking for that script everywhere. I looked for daemon script also looked at the cron jobs using the following command:

sudo crontab -l

Unfortunately I could not locate it.

I get fire when I ask a question I can research, but please understand that I have done the research thats why I am here to ask for help . Thanks!

share|improve this question

migrated from stackoverflow.com Nov 1 '12 at 21:21

This question came from our site for professional and enthusiast programmers.

    
What do you get when you run sudo crontab -l ? do you get no crontab for root ? when you run it without the sudo what happens ? –  alfasin Nov 1 '12 at 20:56
    
This is more of a serverfault question. –  Bot Nov 1 '12 at 20:56
    
I see some cron scripts but not the one I am looking for –  user200900 Nov 1 '12 at 20:57
    
@Bot and Paulo Scardine - you can "close" this question and ask to migrate it to serverdefault –  alfasin Nov 1 '12 at 20:58
    
@alfasin already done. I was just letting the user know. –  Bot Nov 1 '12 at 20:58

2 Answers 2

up vote 2 down vote accepted

Change to /var/spool/cron and look for the script in the resulting directory. Also check the contents of /etc/cron.d and /etc/cron.hourly/. Also the system-wide /etc/crontab.

share|improve this answer
    
I checked each directory I could not see it, If its not there then what would trigger this process hourly beside a cron –  user200900 Nov 1 '12 at 22:01

Also look inside:

/etc/cron.hourly

share|improve this answer
    
thanks Its empty –  user200900 Nov 1 '12 at 21:03
    
also check the crontab file of each user in the system, may be is setup under a different user... just thinking –  slash28cu Nov 1 '12 at 21:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.