1 Replies - 1399 Views - Last Post: 26 November 2009 - 01:13 PM

#1 bonecone   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 47
  • Joined: 14-November 09

Setting up my first cron job

Post icon  Posted 26 November 2009 - 05:50 AM

I need to set up a cron job for somebody's mailing list, and I can only find the scantiest information about how a cron job is created. I only have FTP access. How do I set up a cron job to run every five minutes, or what do I tell the person who owns the server to do?

PS - Yes, the server does support cron. A cron job is already set up in one of the other sites on the server and I just want to replicate it.
Is This A Good Question/Topic? 0
  • +

Replies To: Setting up my first cron job

#2 touch   User is offline

  • New D.I.C Head

Reputation: 3
  • View blog
  • Posts: 23
  • Joined: 20-October 09

Re: Setting up my first cron job

Posted 26 November 2009 - 01:13 PM

It depends what type of server you are running? Is it windows or Linux? Both are easy you just have to have a program or script ready that they are going to run.

Linux:

*/5 * * * * /yourScript

put that in the crontab file to run /yourScript every 5 minutes

Windows:

setup a Scheduled Task to run every 5 min.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1