- Posts: 213
- Thank you received: 38
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Command line administration scripts
- ritapas
- Topic Author
- Offline
- Elite Member
Less
More
5 years 2 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.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11655
- Thank you received: 2742
5 years 2 months ago #180652
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13642
- Thank you received: 2491
5 years 2 months ago #180668
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Command line administration scripts
Or 2 plugin event dedicated to CLI action
manual.limesurvey.org/Direct_(command)
manual.limesurvey.org/Cron_(command)
manual.limesurvey.org/Direct_(command)
manual.limesurvey.org/Cron_(command)
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: ritapas
The topic has been locked.