Ask a Question related to UNIX Programming, Design and Development.

  1. #1

    Default Cron Job Question


    I have a question about the use of cron job. I understand that it
    executes a process at a certain schedule, but is there a way to execute
    a process once there has been a change in a directory or file? If so,
    how would one do such thing? If not, what can be done to execute a
    process once a change has been made in a directory or file?

    --
    Posted via [url]http://dbforums.com[/url]
    imanahmadi Guest

  2. Similar Questions and Discussions

    1. MX 7.0 Cron service
      Is there a way to disable the cron service under MX 7.0?
    2. Cron question
      We have an odd problem where a cron job sometimes doesnt run. Its on a daily schedule, and it creates a log file so we know exactly when it does...
    3. cron job
      If the cron job run every 15 minute, it will fill up mail box. Does anyone has any idea. Thanks "Davide Bianchi" <davideyeahsure@onlyforfun.net>...
    4. rsh and cron
      I have Ultra 60 with Solaris 2.6, and the rsh always work fine, until recently I foud the rsh does not work on the Ultra 60. But I don't have any...
    5. cron
      Not specific to PHP really, but it all started with a simple PHP script I was automating... I've used cron/crontab on a zillion machines, and it...
  3. #2

    Default Re: Cron Job Question

    >Subject: Cron Job Question
    >From: imanahmadi [email]member32513@dbforums.com[/email]
    >Date: 7/3/03 4:36 PM Hawaiian Standard Time
    >Message-id: <3074158.1057286190@dbforums.com>
    >
    >
    >I have a question about the use of cron job. I understand that it
    >executes a process at a certain schedule, but is there a way to execute
    >a process once there has been a change in a directory or file?
    Generally if I need to do something like that, I write a simple shell script.

    You could write a C-program to do it, but why knock yourself out?

    Stuart
    Dr. Stuart A. Weinstein
    Ewa Beach Institute of Tectonics
    "To err is human, but to really foul things up
    requires a creationist"
    Bigdakine Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139