Console task being able to execute listexecute actions
- Status
- Closed
- Subject
- Console task being able to execute listexecute actions
- Version
- 16.x
- Category
- Feature request
- Feature
- Console / Command Line
- Resolution status
- Fixed or Solved
- Submitted by
- Bernard Sfez / Tiki Specialist
- Volunteered to solve
- Victor Emanouilov
- Lastmod by
- Xavier de Pedro
- Rating
- Description
Actually to have the plugin listExecute action initiate by a cron job you have to use curl, send user (admin) credentials and use http(s) authentification which is not very safe.
Copy to clipboardcurl -u admin:adminpassword "http://yourtiki.com/YourActionPage" --form "list_action=ActionName" --form "objects~0=ALL"
It would be nice to to have a console task being able to execute listexecute actions on a particular page avoiding unsafe communications.- Solution
Added a console command for this task. Syntax:
Copy to clipboardphp console.php list:execute "Page Name" "Action Name"
Commit in trunk: r60244I think documentation needs to be updated as well but since this is not yet released to 16.x, I didn't do the doc update.
- Importance
- 6
- Easy to solve?
- 5
- Priority
- 30
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 6158
- Created
- Tuesday 01 November, 2016 13:37:27 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Friday 02 December, 2016 09:15:53 UTC