Search these areas:
Support Forums
Product Info

-DataWeb: What's New
-Creating an Application
-The DataWeb Designer
-Application Management
-Data Tables
-Data Tables
-Data Analysis
-Object Model
-Full-Text Search
-Domain and Email Hosting
-HotBlock Modules
-Account Management
-New Responsive UI Module

DataWeb Help
Support Forums
Script Library
Knowledge Base

Home > Support

Support Forum

script scheduler
gomouse asked:
I installed the scrip scheduler and identified the script and function to run every 5 minutes. but it doesn't appear to be running (the script emails me)?  
  gomouse responded:
  the log shows this error...
Error (Table.Errors.Exception) occurred in '/tester/' at line 54 -- An exception occurred while trying to select records from table 'tester'. 
This exception may be thrown if the table cannot be found
or if the user does not have the necessary permissions.

Additional Information: You do not have permission to perform this operation.
  dougl responded:
  The script-scheduler is not logged on, and most likely does not have permission to read data from your table.

1. check to make sure that anonymous users have permission to read files in the folder where your script lives.
2. modify the function so it reads:
webcall asStaff function <functionName>()

For more about script security, please read:
  gomouse responded:
  worked great, thanks!  
  dougl responded:
  DataWeb considers this issue closed.
If you have additional questions or comments about this issue, please open it again.
If you have questions about a different topic please open a new support question.

DataWeb Support
  Please Log On
or create your own DataWeb Account.
Affiliate | Partner | Terms of Use | Privacy Policy | Contact Us | Pricing | Bring DataWeb In-House    
DataWeb, 720 North 10th Street, A #145, Renton, Washington 98057 *425-583-5970* Fax 484-770-4706* Email Us