Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moreonion/campaignion_csv
Pre-generated CSV-file exports for campaignion.
https://github.com/moreonion/campaignion_csv
campaignion
Last synced: about 1 month ago
JSON representation
Pre-generated CSV-file exports for campaignion.
- Host: GitHub
- URL: https://github.com/moreonion/campaignion_csv
- Owner: moreonion
- Created: 2018-05-09T09:07:56.000Z (over 6 years ago)
- Default Branch: 7.x-1.x
- Last Pushed: 2024-03-12T16:05:17.000Z (10 months ago)
- Last Synced: 2024-04-14T23:17:01.858Z (9 months ago)
- Topics: campaignion
- Language: PHP
- Homepage:
- Size: 135 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/moreonion/campaignion_csv.svg?branch=7.x-1.x)](https://travis-ci.org/moreonion/campaignion_csv) [![codecov](https://codecov.io/gh/moreonion/campaignion_csv/branch/7.x-1.x/graph/badge.svg)](https://codecov.io/gh/moreonion/campaignion_csv)
# Campaignion CSV exports
This module manages pre-generated CSV exports in a specially designated folder.
## Installation
The module can be installed as usual for drupal modules. Dependencies are:
* [campaignion](https://www.drupal.org/project/campaignion)
* [little_helpers](https://www.drupal.org/project/little_helpers)
* [redhen](https://www.drupal.org/project/redhen)
* [variable](https://www.drupal.org/project/variable)## Configuration
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. |## Usage
By default the cron-job is disabled for normal cron runs. It can be invoked directly by using:
```bash
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.