Yes, this is possible in XYZ Email Manager script and in the Newsletter Manager/XYZ WP Newsletter Plugins, if your server allows you to set the cron job or scheduled task.
What is cron?
Cron is the name of program that enables unix users to execute commands or scripts (groups of commands) automatically at a specified time/date.
A cron job allows you to run a certain command at times set by the job. For example, you could set a cron job to send emails every hour/day.
You can set the cron job from your control panel. The mainly used control panels are cpanel and plesk. The cron job is also known as scheduled task.
You can also set the cron job from the terminal.
For this please go to the Terminal or UNIX / Linux shell prompt. You can use any software like putty or SSH login to connect to terminal.
To edit your crontab file, type the following command at the UNIX / Linux shell prompt:
Your cron job looks as follows
1 2 3 4 5 /path/to/command arg1 arg2
1 2 3 4 5 wget www.yoursite.com/cron.php
1: Minute (0-59)
2: Hours (0-23)
3: Day (0-31)
4: Month (0-12 [12 == December])
5: Day of the week(0-7 [7 or 0 == sunday])
/path/to/command - Script or command name to schedule
To run the cron job every minute or every day, we can use the operator * (The asterisk) as a value in the field. An operator allows you to specifying multiple values in a field. There are three operators:
- The asterisk (*) : This operator specifies all possible values for a field. For example, an asterisk in the hour time field would be equivalent to every hour or an asterisk in the month field would be equivalent to every month.
- The comma (,) : This operator specifies a list of values, for example: “1,5,10,15,20, 25″.
- The dash (-) : This operator specifies a range of values, for example: “5-15″ days , which is equivalent to typing “5,6,7,8,9,….,13,14,15″ using the comma operator.
* * * * * wget www.yoursite.com/cron.php
*/5 * * * * wget www.yoursite.com/cron.php
0 * * * * wget www.yoursite.com/cron.php
For every day,
0 0 * * * wget www.yoursite.com/cron.php
30 14 2 * * wget www.yoursite.com/cron.php
0 23 * * 1-5 wget www.yoursite.com/cron.php
In the Newsletter Manager free and premium plugin we can see the cron command in the settings page.
Click the following link to see how to setup the cronjob in cPanel and in Plesk.
Note : In some server, they don’t allow to use cron jobs. In such a situation, you can use third party sites like easycron to run the cron.