[plugin] EasyCron - easier way to manage phplist cron job

3rd party code for phpList

[plugin] EasyCron - easier way to manage phplist cron job

Postby easycron » 4:22am, Wed 30 Oct, 2013

I developed a plugin for setting up a cron job easily to process message queue in the phplist admin panel.

It uses EasyCron's (https://www.easycron.com) API to create and manage a cron job.

This plugin will help users (especially those without adequate cron on hosting or without cron knowledge) configure scheduled tasks to perform periodical jobs required in phplist system.

Download on github:
https://github.com/easycron/phplist-plugin-easycron

Installation:
1. Put easycron.php and easycron folder in your /admins/plugins.

2. Enable the "easycron" plugin in http://your-install-domain/lists/admin/?page=plugins.

3. Go to menu System -> Configure cron job (or directly access http://your-install-domain/lists/admin/ ... i=easycron), and make the configuration.

If you have any feedback, please leave your comment below. If you want to improve the plugin, welcome to contribute on github.

Below is a screenshot of the plugin:
phplist cron job.png
configure cron job to process queue
phplist cron job.png (31.85 KiB) Viewed 7276 times


The last thing, I want to submit the plugin to http://resources.phplist.com/plugins/start, but I cannot find a way to do so. Anybody can help would be great.

Thanks!
Last edited by easycron on 1:34am, Fri 18 Apr, 2014, edited 1 time in total.
easycron
phpList newbie
 
Posts: 2
Joined: 2:51am, Wed 30 Oct, 2013

Re: [plugin] EasyCron - easier way to manage phplist cron jo

Postby jake2013 » 6:45am, Wed 25 Dec, 2013

Extremely easy to use! :lol:
jake2013
phpLister
 
Posts: 12
Joined: 8:07am, Mon 02 Dec, 2013

Re: [plugin] EasyCron - easier way to manage phplist cron jo

Postby jimlongo » 5:26am, Tue 14 Jan, 2014

Works great.

Question, is there any risk in the cleartext password being sent via http?
jimlongo
PL Geek
 
Posts: 88
Joined: 10:10pm, Tue 15 May, 2007

Re: [plugin] EasyCron - easier way to manage phplist cron jo

Postby duncanc » 8:59am, Tue 14 Jan, 2014

That's one problem with using this service, the admin credentials are sent in plain text. I think that only a super admin can run the processqueue command.

A second point is that it is preferable to run php cli, to avoid issues with time-outs, and that can only be done through a local cron job.

Also, from what I can see, the plugin generates an incorrect command to process the message queue for phplist 3. The command should be something like
Code: Select all
http://xxx.com/lists/admin/index.php?page=action&action=processqueue&login=admin&password=zzzzz
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: [plugin] EasyCron - easier way to manage phplist cron jo

Postby easycron » 6:57am, Sun 31 Aug, 2014

If EasyCron Plugin for phplist doesn't work for you. You may follow tutorial on https://www.easycron.com/cron-job-tutor ... or-phplist. It works.
easycron
phpList newbie
 
Posts: 2
Joined: 2:51am, Wed 30 Oct, 2013


Return to Contributions: Plug-ins, Add-ons, Mods

Who is online

Users browsing this forum: No registered users and 2 guests