Results 1 to 2 of 2

Thread: Creating a crontab .. this right?

  1. #1

    Creating a crontab .. this right?


    *3 23 * * * cd /home/jciind/WWW/stats/; perl awstats.pl -update
    -config=www.jciind.com

    Basically i want it to run at 3am everyday. i want it to go to the /home/jciind/WWW/stats folder and run that perl command.

    is this right?

    thank you
    Anthony

  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re:Creating a crontab .. this right?

    Just want to make sure ( hard to tell sometimes ) that you need to write like

    * <space> 3 <space> * <space> * <space>

    And it looks like your script is going to run 3 AM of 23rd. day of every month. If you want it everyday then, it should be like,

    Code:
    * 3 * * * * <your code>

Similar Threads

  1. Cyrus - problem on creating user account
    By satimis in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 06-15-2008, 05:43 AM
  2. Best practice for creating process users
    By Blaqb0x in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 12-25-2003, 03:11 AM
  3. Need help with crontab
    By montejr in forum Linux - General Topics
    Replies: 1
    Last Post: 11-25-2003, 09:50 PM
  4. Linux worm creating P2P attack network
    By cloverm in forum General Chat
    Replies: 1
    Last Post: 09-16-2002, 03:51 AM
  5. Crontab - Scheduling tasks.
    By pbharris in forum Linux - General Topics
    Replies: 2
    Last Post: 07-16-2002, 06:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •