awesomebeats
Technical User
Alright here's want I want to do. I simply want to have a scheduled event where the admin's can update the time at which it runs. So I have this code, eventually the start time and date will be taken from a db:
<cfschedule action = "update"
task = "golive"
operation = "HTTPRequest"
url = "startDate = "8/26/2002"
startTime = "02:08 PM"
interval = "Weekly"
publish = "No">
The problem is that the event doesn't run. Maybe I'm doing something wrong but all I want this page to do is run the code weekly on golive2.cfm. Is that really that hard, here's golive2.cfm:
<cfquery datasource="webcast" name="golive">
update control
set status = 'on'
where type = 'livewebcast';
</cfquery>
Even when I go into CFAdmin and hit run task the db is not updated, the event doesn't run. I guess my real question is: HOw can I have a certain cfm run at a scheduled time? I thought this code would work, obviously I was wrong, I would greatly appreciate any suggestions and help. THank you very much.
-Awesomebeats
<cfschedule action = "update"
task = "golive"
operation = "HTTPRequest"
url = "startDate = "8/26/2002"
startTime = "02:08 PM"
interval = "Weekly"
publish = "No">
The problem is that the event doesn't run. Maybe I'm doing something wrong but all I want this page to do is run the code weekly on golive2.cfm. Is that really that hard, here's golive2.cfm:
<cfquery datasource="webcast" name="golive">
update control
set status = 'on'
where type = 'livewebcast';
</cfquery>
Even when I go into CFAdmin and hit run task the db is not updated, the event doesn't run. I guess my real question is: HOw can I have a certain cfm run at a scheduled time? I thought this code would work, obviously I was wrong, I would greatly appreciate any suggestions and help. THank you very much.
-Awesomebeats