This module manages pre-generated CSV exports in a specially designated folder.
The module can be installed as usual for drupal modules. Dependencies are:
The module uses the following configuration variables:
variable | purpose |
---|---|
campaignion_csv_path |
CSV export directory: Path to the managed export files, relative to the DRUPAL_ROOT |
campaignion_csv_time_limit |
Soft time limit for cron-job: The cron job doesn’t start new file exports after this time limit passes. |
campaignion_csv_memory_limit |
Soft limit for leaked memory: Some of the exports might leak memory. No new exports are started once this amount of memory has been leaked. |
By default the cron-job is disabled for normal cron runs. It can be invoked directly by using:
drush cron-run campaignion_csv_cron
Each cron-run generates files until the time/memory limits are hit or all files are in the desired state.