开发者

what is a cron job [closed]

开发者 https://www.devze.com 2022-12-20 16:59 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 12 years ago.

开发者_开发知识库 Improve this question

I see this every time I ask questions about backing up sql through php, but I don't know what is it, or how to install it, or how to use it in my computer(windows xp) to backup mysql database.


Cron is a UNIX utility for running commands at specific times. A cron job is a such a commend when cron has been configured to run it.

On Windows you would likely use the Scheduler instead.


A cronjob is a unix term for a system process (cron) that allows you to schedule tasks to run at a later date under a specified set of privileges. On Windows, I suggest you create a batch file for your backup, and use the Task Scheduler to run it at the desired time.


cronjobs are available on Linux/Unix machines. These are scripts which you schedule to run at specific times (daily, hourly, monthly).

They are controlled by the unix command "crontab"

To list all of your cronjobs use crontab -l. To edit the list of cronjobs use crontab -e

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号