Dismiss Notice
Welcome to Our Community
Wanting to join the rest of our members? Feel free to sign up today.

Script which is always running?

Discussion in 'General Webmaster Helpdesk' started by clau, Aug 11, 2005.

  1. clau

    clau Guest

    Has anybody ever heard of a script or application or something which can be put to run non-stop on a server?

    I ask because I didn't heard about something like this until yesterday. One of my friend need to do this and he asked me.

  2. Robster

    Robster Guest

    Do you mean setting something to run at a regular interval? If it is its called a Cron job if you are on a Linux server, or something else if you are on a windows server.

    I can't remember the command for it off the top of my head, but a google search should tell you how, or maybe someone else will chip in.
  3. stealthhosts

    stealthhosts New Member Webmaster

    crontab -e

    30 0 1 1,6,12 * -- 00:30 Hrs on 1st of Jan, June & Dec.

    0 20 * 10 1-5 --8.00 PM every weekday (Mon-Fri) only in Oct.

    0 0 1,10,15 * * -- midnight on 1st ,10th & 15th of month

    5,10 0 10 * 1 -- At 12.05,12.10 every Monday & on 10th of every month


    For windows setup a scheduled task.

    No script should need to be running continuously, it should b executed when viewed, system resources would be crazy otherwise
  4. clau

    clau Guest

    Thanks guys. I think this is it.

Featured Resources (View All)

Share This Page