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

hello i want to run a cron job on centos/directadmin server

i want to run this page every minute. how i must do it?

share|improve this question

closed as off-topic by HopelessN00b Apr 3 '15 at 17:08

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

If you really want to call the website and have it run the PHP; use CURL or WGET

crontab -e as any user

* * * * * /path/to/wget > /dev/null

share|improve this answer

Run the command

crontab -e

While logged in as the user you want to run the command as.

Since you are using DirectAdmin you can also add your command in the user control panel.

Crontab is in the advanced menu

And then enter your crontab information:

Add crontab details

In the command field using your example, you would use:


Clicking "Prevent email" will add >/dev/null 2>&1 to the end of the line to suppress the email sent upon successful or unsuccessful crontab run.

share|improve this answer

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