Page 1 of 1

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

PostPosted: 4:22am, Wed 30 Oct, 2013
by easycron
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 8936 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!

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

PostPosted: 6:45am, Wed 25 Dec, 2013
by jake2013
Extremely easy to use! :lol:

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

PostPosted: 5:26am, Tue 14 Jan, 2014
by jimlongo
Works great.

Question, is there any risk in the cleartext password being sent via http?

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

PostPosted: 8:59am, Tue 14 Jan, 2014
by duncanc
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

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

PostPosted: 6:57am, Sun 31 Aug, 2014
by easycron
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.