Webmaster Forum  

Go Back   Webmaster Forum > Web Hosting Forum - Web Hosting - Web Host - Hosting - Managed Hosting - Shared Hosting > Site & Server Administration
User Name
Password
Register FAQ Members List Calendar Transactions Store Search Today's Posts Mark Forums Read


What is 'Cron Jobs'?

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-17-2007, 14:43
Fevio
Junior Member


Join Date: Dec 2007
Posts: 21
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
Fevio is on a distinguished road
Default What is 'Cron Jobs'?

I have seen this all over the place but what exactly is it and what does it do? Thanks in advance.
Fevio is offline
Reply With Quote
  #2  
Old 12-18-2007, 01:34
anantshri
Senior Member


Join Date: Dec 2007
Location: INDIA
Posts: 195
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
anantshri is on a distinguished road
Send a message via Yahoo to anantshri
Default

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.
__________________
DON'T LEARN TO HACK,HACK TO LEARN

My Personal Site
My BLOG
anantshri is offline
Reply With Quote
  #3  
Old 12-18-2007, 03:33
puffin
Senior Member

puffin's Avatar

Join Date: Nov 2006
Posts: 778
Trader Rating: (0)
Points: 23 (Donate)
5 F$/Referral Refer Friends
puffin is on a distinguished road
Default

Quote:
Originally Posted by anantshri
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.

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.
puffin is offline
Reply With Quote
  #4  
Old 12-25-2007, 23:57
sunken
Senior Member

sunken's Avatar

Join Date: Dec 2004
Posts: 242
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
sunken is on a distinguished road
Default

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.
sunken is offline
Reply With Quote
  #5  
Old 12-26-2007, 22:54
Brandon
Member


Join Date: Sep 2007
Posts: 40
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
Brandon is on a distinguished road
Default

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.
Brandon is offline
Reply With Quote
  #6  
Old 12-28-2007, 05:24
anantshri
Senior Member


Join Date: Dec 2007
Location: INDIA
Posts: 195
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
anantshri is on a distinguished road
Send a message via Yahoo to anantshri
Default

thanks for the site infor brandon, till now i used only shell to create cron jobs, but this will of great help to me.
__________________
DON'T LEARN TO HACK,HACK TO LEARN

My Personal Site
My BLOG
anantshri is offline
Reply With Quote
  #7  
Old 12-29-2007, 11:11
ronit_3746
Junior Member


Join Date: Dec 2007
Posts: 28
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
ronit_3746 is on a distinguished road
Default

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:
ronit_3746 is offline
Reply With Quote
  #8  
Old 04-18-2008, 04:02
jani83
Senior Member


Join Date: Apr 2008
Posts: 207
Trader Rating: (0)
Points: 4 (Donate)
5 F$/Referral Refer Friends
jani83 is on a distinguished road
Default

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.
jani83 is offline
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

Resources : | Advertise at FHF | itextLink.com| Reseller Hosting| TextDot| iNamePros| Any Webmaster| Web Host| Dep3| cheap low cost web hosting reviews|


All times are GMT -4. The time now is 01:26.


Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.