How to setup a cron job > Virtualmin Guide

본문 바로가기
 

How to setup a cron job

페이지 정보

작성자 휴먼 댓글 0건 조회 10,791회 작성일 11-08-02 11:07

본문

How to setup a cron job

Posted 2009-01-20 00:32 by andreychek

This tutorial covers how to setup a Cron job. Cron is a service for executing scheduled commands.

It assumes you have first logged into Virtualmin.

  1. Click Webmin on the top-left.

  2. Click System.

  3. Click Scheduled Cron Jobs.

  4. Click Create a new scheduled cron job.

  5. Choose the user to run as, and input the username in Execute cron job as. To run as the administrative user, input root .

  6. Enter the command to run into the Command field. For example, if you want to receive a list of all running processes, enter ps auxw for the command.

  7. Normally, you can skip Input to command. That's only used if your command requires input after it begins running.

  8. Choose how frequently to run your command. By default, it will execute Hourly, meaning it will execute at the top of the hour, every hour.

  9. To enable the Cron job, click Create.

Any output will be emailed to the root user.

댓글목록

등록된 댓글이 없습니다.

Total 32건 1 페이지
게시물 검색