Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Command line administration scripts

  • ritapas
  • ritapas's Avatar Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
5 years 8 months ago #180648 by ritapas
Command line administration scripts was created by ritapas
Hello,
I've been asked if there could be a way to manage our limesurvey installation by creating command line scripts.
For example, a script to be put in our crontab that deletes all closed surveys that are older than a certain age.
I believe this could be done, though not so quickly, by directly accessing the database. Anyway, I wasn't able to find a data model for it.
Is there any documentation about that?
Regards.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 8 months ago #180652 by holch
Replied by holch on topic Command line administration scripts
There is an API available. Not sure if it allows what you are looking for, but you can do quite a few things with it.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: ritapas
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
5 years 8 months ago #180668 by DenisChenu
Replied by DenisChenu on topic Command line administration scripts

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: ritapas
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose