![]() |
|
|
|
|
#1
|
||
|
I have seen this all over the place but what exactly is it and what does it do? Thanks in advance.
|
|
|
|
||
|
#2
|
||
|
well you can compare cron jobs with task scheduling,
Its like you can have some task's scheduled to be done automatically, people use it to ceate backup of website or perform general cleanup sort of tasks. |
|
|
|
||
|
#3
|
|||
|
Quote:
Do you know how to do backup with cron job ? If you know can you explain how to do it ? I think thats one of the best use we can get from cron jobs.
__________________
|
||
|
|
|||
|
#4
|
||
|
You would need a script (either a shell script or PHP) that does the necessary copying of files. It is this script that would be put into the cron task. You might want to check out hotscripts.com, as they have backup management type scripts that would serve your purpose.
|
|
|
|
||
|
#5
|
||
|
Cron jobs is to schedule a task for the server to do. PHP can schedule cron jobs to work, just places like hotscripts will fix you up.
|
|
|
|
||
|
#6
|
||
|
thanks for the site infor brandon, till now i used only shell to create cron jobs, but this will of great help to me.
|
|
|
|
||
|
#7
|
||
|
The cron daemon is a long running process that executes commands at specific dates and times. To schedule one-time only tasks with cron, use at or batch. For commands that need to be executed repeatedly (e.g. hourly, daily or weekly), use crontab, which has the following options:
crontab filename Install filename as your crontab file. crontab -e Edit your crontab file. crontab -l Show your crontab file. crontab -r Remove your crontab file. The crontab command creates a crontab file containing commands and how often cron should execute them. Each entry in a crontab file consists of six fields, specified in the following order: |
|
|
|
||
|
#8
|
||
|
Cron is the name of program that enables unix users to execute commands or
scripts (groups of commands) automatically at a specified time/date. It is normally used for sys admin commands, like makewhatis, which builds a search database for the man -k command, or for running a backup script, but can be used for anything. A common use for it today is connecting to the internet and downloading your email. |
|
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| backups by cron jobs | puffin | Site & Server Administration | 3 | 12-18-2007 04:23 |
| Cron Jobs | Captain Tycoon | Site & Server Administration | 0 | 12-01-2007 18:04 |
| Find freelance jobs around the web | galaxy | Website Reviews | 1 | 10-01-2007 20:37 |
| Find freelance jobs around the web | galaxy | Website Design Forum | 2 | 08-24-2007 16:46 |
| Guaranteed No Cost Jobs! | juettd | Other Offers and Requests | 0 | 06-19-2006 10:58 |