Ticket #189 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

updates should be allowed from the CLI

Reported by: sdcosta Owned by: mbonetti
Priority: normal Milestone: Gregarius 0.5.5
Component: FEATURES Version:
Severity: normal Keywords: update cli
Cc: info@…, Darth_Sebulba05@…

Description

You should be able to run an update to gregarius from the command line to avoid webserver timeout issues if you have too many feeds.

Attachments

console-update.diff (3.5 kB) - added by Darth_Sebulba05@… 3 years ago.
Patch to source to make console updates possible.
update-script.php (1.4 kB) - added by Darth_Sebulba05@… 3 years ago.
The update script.
update-news.sh (92 bytes) - added by Darth_Sebulba05@… 3 years ago.
Bash script to use with a cron job (Edit as necessary).
console-update.2.diff (4.8 kB) - added by Darth_Sebulba05@… 3 years ago.
Modified populate to take an optional array of IDs and use it in the ConsoleUpdate? render().

Change History

Changed 3 years ago by mbonetti

  • status changed from new to assigned

Changed 3 years ago by mbonetti

  • keywords cli added

Changed 3 years ago by mbonetti

  • milestone changed from Gregarius 0.6.0 to Gregarius 0.5.3

Changed 3 years ago by Darth_Sebulba05@…

Patch to source to make console updates possible.

Changed 3 years ago by Darth_Sebulba05@…

The update script.

Changed 3 years ago by Darth_Sebulba05@…

Bash script to use with a cron job (Edit as necessary).

Changed 3 years ago by sdcosta

Perhaps render() should also take an argument to update 1 feed, or a range of feeds. It will help when parallelizing the update process.

Changed 3 years ago by Darth_Sebulba05@…

That's a good idea.

I'll see what I can do.

Changed 3 years ago by Darth_Sebulba05@…

Modified populate to take an optional array of IDs and use it in the ConsoleUpdate? render().

Changed 3 years ago by anonymous

  • cc Darth_Sebulba05@… added

Changed 3 years ago by mbonetti

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.