take an action when a condition exists

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default take an action when a condition exists

    Hi, I was wondering if I could get some ideas on a way to go about a process.
    In my MySQL db, there is a time stamp. My ultimate goal is to have an email
    fired off when the time reaches 24 hours old. I thought about using scheduler,
    but i really dont want it running once an hour checking times. TIA.

    rmorgan Guest

  2. Similar Questions and Discussions

    1. Condition Edit Action
      Hi - I am trying to use the EditCommand Column in a datagrid in such a way as to display the column's edit command ONLY when the user who entered...
    2. CS quit suddenly in the middle of making Action sets Action sets,
      G4/450/dual/OSX33/1gigRAM/45gigHD/Photoshop CS Does anyone know why Photoshop CS quit suddenly in the middle of making Action sets, saying I had...
    3. condition
      hey jan... i do it like this: function existRec (name) { for (i=0; i<recs.length; i++) { if (recs == name) { return true; } } return false;...
    4. ?: condition
      eh, probably dumm question but why is asking to return a value not working here? for (var i=0;i< x.length; i++) { x ? : return true : null; }
    5. method name exists, property value exists, calling method fails
      I have a class object I am calling in another class: class Stuff { var $myObj; function Stuff($myObj) { $this->myObj = $myObj; }
  3. #2

    Default Re: take an action when a condition exists

    Running a job every hour seems like the most effective way to go about this. Why would you not want to do this?
    Dan Bracuk Guest

  4. #3

    Default Re: take an action when a condition exists

    Although scheduler is an effective method, it just seems to me like
    unneccessary hits to the db every hour. Ideally I would like something that
    could "monitor" the data and when the criteria is reached it would take action
    at that point.

    rmorgan 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