Automatic Imports
To run imports automatically, you can use one of two methods:
1. You can create a template, and include the tag:
1
{exp:datagrab:run_saved_import id="2"}
Copied!
(this will run the import with the id of 2). The import will run when this template is visited.
2. You can directly call the URL:
1
http://yoursite.com/index.php?ACT=n&id=2
Copied!
Where n is the action id assigned to DataGrab. This is displayed on the module’s homepage.
To run automatically, you will need to set up a cron job to visit the relevant URL. For more details see: Running imports using cron.
Copy link