Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to set up server settings and to the whole unix thing so maybe this is simple.

I'm trying to start crontab with curl in but it doesn't work. I want it go to file and send email every 30 minutes.

If just writing


in the terminal everything works just fine and it will send out mail as I want.

But when I trying to do it with crontab it never "kicks". In the crontab -e I have write

0,30 * * * * curl

I have also tried

0,30 * * * * /usr/bin/curl

nothing with result.

Anyone have any clue what can be wrong?


It was some PAM related bug on the server. To fix it I wrote:

aptitude reinstall libpam-modules libpam0g cron
share|improve this question

migrated from Nov 16 '11 at 10:09

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

try add -v option to see details? – Kit Ho Aug 10 '11 at 13:30

Check that everything for PAM is installed. ;-)

share|improve this answer

Your Answer


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