Sitemap Sitemap  |  Contact Us Contact Us  |  Clients Clients
   AddFileTask
  Home |  WebHare Lite |  Downloads |  HareScript |  Websites/CMS |  Applications
Search for:  in: 
Websites/CMS
Website development
Publisher modules
 
Content types
File manager
Publisher database definitions
Publisher webui components
Scheduler/queue control
AddFileTask
  Add a scheduled task for a file
 
Library module::publisher/control.whlib
 
Syntax PUBLIC MACRO AddFileTask (INTEGER fileid,DATETIME when,INTEGER eventtype,INTEGER destfolder)
 
Parameters
fileid ID of the affected file
when Date and time, in UTC, when the task should be executed
eventtype The type of event to schedule (1 = start publishing, 2 = stop publishing, 3 = move file, 4 = delete file)
destfolder Destination folder for scheduled move commands
 
 
In library 'control'
AddFileTask
DeleteFileTask
EditFileTask
GetErrorFromPublished
GetFlagsFromPublished
GetOncePublishedFromPublished
GetPublisherState
GetScheduledFromPublished
IsPublish
RepublishContentdataForFolder
ScheduleFileRepublish
ScheduleFolderRepublish
SetFlagsInPublished
TestFlagFromPublished
 
Top To top of page