What is cron job help me

Discussion in 'Programming' started by smartwork121, Dec 16, 2009.

  1. #1
    what is cron job?

    how can i set on godaddy

    in godaddy my package is windows
     
    smartwork121, Dec 16, 2009 IP
  2. webtalk

    webtalk Well-Known Member

    Messages:
    283
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    135
    #2
    cron job can shedule a job for you , for example you can run script on some time like daily, once in a month or weekly.
    for windows you have task scheduler , sorry, I dono about godaddy panel
    in linux you have following manners

    #minute, hour, day of month, month, day of week, command
    * * * * * command or script to execure

    for example run daily backup at midnight would be

    0 0 * * * /path/to/backup.sh
     
    webtalk, Dec 16, 2009 IP
  3. smartwork121

    smartwork121 Peon

    Messages:
    116
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks for your reply but i am not using linux in godaddy
     
    smartwork121, Dec 16, 2009 IP
  4. iama_gamer

    iama_gamer Active Member

    Messages:
    404
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #4
    Ive not been in godaddy so i cant give an exact solution but these might help:

    1)is the file you want to run the cron for public? accessible to everyone?
    In this case its possible to run the cron job from a remote server. If this is the case PM me and ill set it up on my server for testing.

    2)file is outside public_html
    You can ask tech if they have an option for cron. If not create a sym link[again im not really sure if the version of windows on your server supports it but i know windows 2000 did] and run that remotely
     
    iama_gamer, Dec 17, 2009 IP
  5. MyVodaFone

    MyVodaFone Well-Known Member

    Messages:
    1,048
    Likes Received:
    42
    Best Answers:
    10
    Trophy Points:
    195
    #5
    Login to godaddy, select Hosting and manage account.

    Select Content and Cron Manager / Create Cron Job

    If you don't see or have access to this, you need to upgrade to Deluxe hosting.


    Next step is pretty self explanatory:

    Give your cron job a name, select how often you need to run it, then click Browse and find the file you want to run through your already hosted files.
     
    MyVodaFone, Dec 17, 2009 IP
  6. thuankkk

    thuankkk Active Member

    Messages:
    503
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    95
    #6
    Hello,

    In fact, Windows doesn't have CronJobs. It has only Task Scheduler, which do the same jobs.
    You can read about it at http://www.iopus.com/guides/winscheduler.htm (the first url i found from google).

    You can also have a look at some online cron jobs service such as www.setcronjob.com, onlinecronjob.com, cronjobs.org, etc. They let you create cron jobs easily with a web based control panel.
     
    thuankkk, Dec 21, 2009 IP
  7. vinoth.t

    vinoth.t Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Equivalent to Cron job in windows is Task Scheduler. You can use it for setting scheduled events.
     
    vinoth.t, Dec 24, 2009 IP
  8. dreteh

    dreteh Member

    Messages:
    514
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    33
    #8
    dreteh, Dec 24, 2009 IP
  9. impressive.designs

    impressive.designs Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    help.godaddy.com/topic/67/article/3547
     
    impressive.designs, Dec 24, 2009 IP