Hello! I’m trying to setup the plugin to send an email each day.
I’ve set a daily recurrence, at 08.00 AM, but actually I’m receiving the email each 10 minutes. I don’t understand where to look and what to change to have the expected results. I’ve set the heartbeat at 86400 seconds. If I disable the heartbeat, no email is sent at all.
Thanks in advance for your help!
]]>Hello,
I’m trying to run a php script but the task does not work.
Nothing happens when the specified time passes, “last run” field remains “n/a” and call count has the value 0. Also the heartbeat status remains “n/a”.
I don’t know where to fix it.
Thank you in advance.
G.
can i use this to run my task instead of manually? thanx!
]]>For some reason it stops showing the datepicker, can you please help me?
https://snipboard.io/9NIo0m.jpg
We have set up a new wordpress site where we have the need for different users to plan, write and schedule a post. Your plugin Task-Scheduler look like a very good option for this use. The app works fine if the user is administrator on the site. But we are looking for a way to have other wordpress user roles access this plugin with the wp-admin console. This is needed for our intended use where different users have the ability to post their own posts and theese are separated from other users posts. Is there a way with this plugin to have non admin users accessing the new task and edit task modes in task-scheduler?
]]>It seems when no tasks are present, there is no way to open “Tasks” list page.
Fatal error: Uncaught Error: Call to a member function render_screen_reader_content() on null
in /var/www/html/xxxx/wp-admin/includes/class-wp-list-table.php on line 411
Call stack:
WP_List_Table::views()
wp-content/plugins/task-scheduler/include/class/admin/page/root/TaskScheduler_AdminPage_Form.php:283
TaskScheduler_AdminPage_Form::___getTableOutput()
wp-content/plugins/task-scheduler/include/class/admin/page/root/TaskScheduler_AdminPage_Form.php:249
TaskScheduler_AdminPage_Form::content_ts_task_list()
wp-includes/class-wp-hook.php:292
WP_Hook::apply_filters()
wp-includes/plugin.php:212
apply_filters()
wp-content/plugins/task-scheduler/include/library/apf/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php:294
TaskScheduler_AdminPageFramework_WPUtility_Hook::addAndApplyFilter()
wp-content/plugins/task-scheduler/include/library/apf/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php:277
TaskScheduler_AdminPageFramework_WPUtility_Hook::addAndApplyFilters()
wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:68
TaskScheduler_AdminPageFramework_View__PageRenderer::_printMainPageContent()
wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/_view/AdminPageFramework_View__PageRenderer.php:31
TaskScheduler_AdminPageFramework_View__PageRenderer::render()
wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/AdminPageFramework.php:459
TaskScheduler_AdminPageFramework_View_Page::_renderPage()
wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/AdminPageFramework.php:455
TaskScheduler_AdminPageFramework_View_Page::_replyToRenderPage()
wp-includes/class-wp-hook.php:292
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:316
WP_Hook::do_action()
wp-includes/plugin.php:484
do_action()
wp-admin/admin.php:259
]]>
Can this plugin manage daily content scheduling? I want to show then hide daily video streaming certain hours a day via iframe code using a scheduler plugin. Can I create a custom cron job of somekind or task scheduler within this tool?
]]>Hi team,
As mentioned, my task for sending email is not working when nobody visit my wordpress website.
I added a new task which will send email every 5 minutes and it’s not working when I close my wordpress site. May I know is it related with wp-cron or anything else?
And also my run count keep showing 0, is it any issue?
Thanks in advance.
]]>Hi team, when i try to add new task the error shows
Fatal error: Uncaught TypeError: Argument 1 passed to TaskScheduler_AdminPageFramework_Model__FormSubmission__Validator__Filter::_getEmbeddedOptions() must be of the type array, null given, called in /web/htdocs/www.componentsandsystems.it/home/wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php on line 106 and defined in /web/htdocs/www.componentsandsystems.it/home/wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php:110 Stack trace: #0 /web/htdocs/www.componentsandsystems.it/home/wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php(106): TaskScheduler_AdminPageFramework_Model__FormSubmission__Validator__Filter->_getEmbeddedOptions(NULL, Array, Array) #1 /web/htdocs/www.componentsandsystems.it/home/ in /web/htdocs/www.componentsandsystems.it/home/wp-content/plugins/task-scheduler/include/library/apf/factory/admin_page/_model/delegate/validaor/AdminPageFramework_Model__FormSubmission__Validator__Filter.php on line 110
Si è verificato un errore critico sul tuo sito web. Controlla la casella di posta dell’amministratore del sito per istruzioni.
URL: https://www.componentsandsystems.it/wp-admin/admin.php?page=ts_add_new&transient_key=TS_5f6db24e70579&tab=daily
Plugin version: 1.5.2
thanks for the support
]]>Hi
I am a big fan of this plugin.
But, The plugin is not working well after my website was moved in a new hosting server.
The thing is,
When I click ‘run now’ or ‘delete’ button on any task or routine, the redirect url is wrong like this, “https://xxx.com:80/wp-admin/admin.php?page=ts_task_list&task_scheduler_no…”
The strange thing is ‘:80’
Also when I try to delete a ‘routine’, then I’ve got a fatal error.
The error log is below
[Sun Sep 20 23:50:51.006803 2020] [proxy_fcgi:error] [pid 27861] [client 207.148.82.47:45340] AH01071: Got error ‘PHP message: PHP Recoverable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string in /home/474370.cloudwaysapps.com/khpwamwdce/public_html/wp-content/plugins/task-scheduler/include/class/event/action/TaskScheduler_Event_Action_DeleteLogItems.php on line 77’, referer: https://moashop.com.au/?doing_server_heartbeat=1600645848.944&context=spawn_routine&last_beat_time=1600645848.8846
[Sun Sep 20 23:46:16.487898 2020] [proxy_fcgi:error] [pid 27676] [client 120.159.10.21:44884] AH01071: Got error ‘PHP message: PHP Recoverable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string in /home/474370.cloudwaysapps.com/khpwamwdce/public_html/wp-content/plugins/task-scheduler/include/class/event/action/TaskScheduler_Event_Action_DeleteLogItems.php on line 77’
[Sun Sep 20 23:45:28.997142 2020] [proxy_fcgi:error] [pid 27661] [client 120.159.10.21:44838] AH01071: Got error ‘PHP message: PHP Recoverable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string in /home/474370.cloudwaysapps.com/khpwamwdce/public_html/wp-content/plugins/task-scheduler/include/class/event/action/TaskScheduler_Event_Action_DeleteLogItems.php on line 77’, referer: https://moashop.com.au/wp-admin/admin.php?page=ts_task_list&status=routine
[Sun Sep 20 23:41:03.625774 2020] [proxy_fcgi:error] [pid 27486] [client 120.159.10.21:44466] AH01071: Got error ‘PHP message: PHP Recoverable fatal error: Object of class TaskScheduler_Event_Action_DeleteLogItems could not be converted to string in /home/474370.cloudwaysapps.com/khpwamwdce/public_html/wp-content/plugins/task-scheduler/include/class/event/action/TaskScheduler_Event_Action_DeleteLogItems.php on line 77’, referer: https://moashop.com.au/wp-admin/admin.php?page=ts_task_list&status=routine
Hi,
I started having a problem with mysqld.exe using 100% of CPU.
I ran ‘SHOW FULL PROCESSLIST;’ and I got below query running and never ending:
SELECT SQL_CALC_FOUND_ROWS kconl_posts.ID FROM kconl_posts INNER JOIN kconl_postmeta ON ( kconl_posts.ID = kconl_postmeta.post_id ) INNER JOIN kconl_postmeta AS mt1 ON ( kconl_posts.ID = mt1.post_id ) INNER JOIN kconl_postmeta AS mt2 ON ( kconl_posts.ID = mt2.post_id ) INNER JOIN kconl_postmeta AS mt3 ON ( kconl_posts.ID = mt3.post_id ) INNER JOIN kconl_postmeta AS mt4 ON ( kconl_posts.ID = mt4.post_id ) INNER JOIN kconl_postmeta AS mt5 ON ( kconl_posts.ID = mt5.post_id ) INNER JOIN kconl_postmeta AS mt6 ON ( kconl_posts.ID = mt6.post_id ) INNER JOIN kconl_postmeta AS mt7 ON ( kconl_posts.ID = mt7.post_id ) INNER JOIN kconl_postmeta AS mt8 ON ( kconl_posts.ID = mt8.post_id ) INNER JOIN kconl_postmeta AS mt9 ON ( kconl_posts.ID = mt9.post_id ) INNER JOIN kconl_postmeta AS mt10 ON ( kconl_posts.ID = mt10.post_id ) INNER JOIN kconl_postmeta AS mt11 ON ( kconl_posts.ID = mt11.post_id ) INNER JOIN kconl_postmeta AS mt12 ON ( kconl_posts.ID = mt12.post_id ) INNER JOIN kconl_postmeta AS mt13 ON ( kconl_posts.ID = mt13.post_id ) WHERE 1=1 AND (
( kconl_postmeta.meta_key = 'routine_action' AND kconl_postmeta.meta_value IN ('task_scheduler_action_delete_task_log') )
AND
( mt1.meta_key = 'occurrence' AND mt1.meta_value IN ('constant') )
AND
( mt2.meta_key = '_max_root_log_count' AND mt2.meta_value IN ('0') )
AND
( mt3.meta_key = '_target_task_id' AND mt3.meta_value IN ('3277') )
AND
( mt4.meta_key = '_max_root_log_count_of_the_target' AND mt4.meta_value IN ('10') )
AND
( mt5.meta_key = 'owner_task_id' AND mt5.meta_value IN ('3277') )
AND
( mt6.meta_key = 'parent_routine_log_id' AND mt6.meta_value IN ('0') )
AND
( mt7.meta_key = '_max_execution_time' AND mt7.meta_value IN ('120') )
AND
( mt8.meta_key = '_force_execution' AND mt8.meta_value IN ('0') )
AND
( mt9.meta_key = '_hung_routine_handle_type' AND mt9.meta_value IN ('0') )
AND
( mt10.meta_key = '_yoast_wpseo_content_score' AND mt10.meta_value IN ('30') )
AND
( mt11.meta_key = 'custom_action' AND mt11.meta_value IN ('my_custom_action') )
AND
( mt12.meta_key = '_qts_slug_da' AND mt12.meta_value IN ('rz_test_task') )
AND
( mt13.meta_key = '_qts_slug_en' AND mt13.meta_value IN ('rz_test_task') )
) AND kconl_posts.post_type IN ('ts_task', 'ts_routine', 'ts_thread') AND ((kconl_posts.post_status = 'publish' OR kconl_posts.post_status = 'private')) GROUP BY kconl_posts.ID ORDER BY kconl_posts.post_date DESC, kconl_posts.ID DESC LIMIT 0, 1
This is on the local server. CPU first is at around 30%, then it gets higher and higher. It reaches 100% and then my programs crash.
I believe this query is run by Task Scheduler plug in.
What step can I take to find the problem?
Thanks
]]>I am trying to find out the status of a website if up or down then send an email with the result, what should I do?
I have created a new task with the following information:
action:
Check Web Site
Web Page URL:
https://hggddggh.com/
After I ran the task I found nothing in the log. what should I do to find the result and send it to email?
]]>I have an infinity running process like syncing data remotely in every 2minutes. So I have added a task and that task reads the data table and process each row and call remote apis for updating. I have tested with adding 1000 rows and it hung up at about 53.
with max execution time out.
Then the next run also not working and whole task is hung out.
Here are my configurations.
I can’t seem to be able to get a heartbeat
“Last Beat Time:N/A”
and never runs on the ‘next beat time’
I need to daily execute a script but sometimes it doesn’t finish, at this moment it has 14 runs, 8 ends, and idk why. I tried to increase “Max task execution time” to 18000 seconds, but still doesn’t finishing some days… How can I see the logs?
The script updates a db table with about 200 columns (increasing everyday), it shouldn’t spend more than 5 hours to end the task…
Any idea? ??
]]>Hello
Everything works fine except for the “Add new task at specified time” option. This option works only if I change the default data format for WP into Y-m-d. I’m using the Italian default format (d / m / Y), and into this mode the plugin says: “* A future time needs to be set, not past” when i create an event. There is a way to solve this?
thank you
Claudio
Hi. I have tested the scheduled email task and its great, thanks
I wonder if there is a method I can use or some advice you can give me on how to set this scheduled email to send to all users of a certain role in my website user table ?
I need to bulk email all users in one role a message on a specific day of the year
thanks a lot
Joe
Hi all,
within a custom actions in my theme’s functions.php, wp_mail and PHPMailer are not working. Do you know why and how to make them working?
I’d like to do that after checking addresses and needs to send emails with a sql query.
Thank you
Kind regards
]]>I’m testing “RUN PHP SCRIPTS”, but nothing happens.
I tried with:
<?php
unlink(“test.txt”);
$myfile = fopen(“test.txt”, “w”) or die();
fwrite($myfile, “INICIANDO” . PHP_EOL);
fwrite($myfile, “TERMINANDO” . PHP_EOL);
fclose($myfile);
?>
Log show:
-Starting a routine.
–Starting the routine. ID xxx Action: Run PHP Scripts.
–Still have threads.
Debug is active on file wp-config.php, but nothing happens on debug.log:
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);
define(‘WP_DEBUG_DISPLAY’, true );
define(‘SCRIPT_DEBUG’, true );
I’m using WordPress WordPress 5.0.4, with “Twenty Nineteen” theme.
Waiting for your help.
]]>Hi,
My link tags are not being sent properly (https://prntscr.com/njjb1d). Can you fix this?
Kind regards,
Pablo
I am just curious if this plugin is still supported and compatible with latest versions of WordPress and Woocommerce
]]>Hey all,
I’m trying to create daily task that runs 3 times a day php script.
When I’m trying to insert the time I want it to run, it change automatically to date.
For example, this: https://monosnap.com/file/YkfDlUdgKJh6i6ZwX3yGlB6fzi3lfG
Changed to this: https://monosnap.com/file/nmmhMLv2RzhC63seQJBQ97LQmxgvX8
Thanks,
Mosh
Hello,
I was just wondering if there was a way to use this plugin in such a way that will allow it to send the contents of a WordPress page as an automated e-mail?
Many thanks in advance for any suggestions. Looking at all possibilities before writing something myself.
]]>Hey,
Im trying to initiate php script, on the beginning it was working but suddenly stopped.
In my debug file I see this error:
PHP Warning: Declaration of TaskScheduler_AdminPage_EditModule__Section__Occurrence::validate() should be compatible with TaskScheduler_AdminPage_Section_Base::validate($aInput, $aOldInput, $oAdminPage, $aSubmitInfo) in /srv/users/USERNAME/apps/APPNAME/public/wp-content/plugins/task-scheduler/include/class/admin/page/edit_module/section/TaskScheduler_AdminPage_EditModule__Section__Occurrence.php on line 19
Can help with this issue?
]]>Hi,
I’ve got a PHP file that when I call directly from the URL works as expected. It is a fairly simple file, it just creates some JSON and saves it to the file system.
I’ve created a task in the Task Scheduler, told it to run my script and set it to run at midnight each day. At the end of the file running I am sending an email to confirm that the task ran. I am never receiving this email, and the JSON is never changing.
The overview page shows my task, and the last run column is incrementing daily, so it thinks that it has run. There is an exit code of 1, which if memory serves means success.
Any ideas what could be going wrong here?
Thanks,
Tony
]]>hi there
Love this plugin btw
i have a problem understanding he path i need to use to a php script i want to include
The fture to click folder and browse my directory structure to build the path does not seem to work so i tried enteering it manually
I added this
/scripts/myscriptname.php
and placed the folder ‘scripts’ with my php script in it my web root – as a test
this does not seem to work when I run it on the schedue or manually
did i set the path wrong
cheers
joe
]]>Using WP: 4.9.5
When I browse to the TS list page I get the following error:
Fatal error: Uncaught Error: Call to a member function render_screen_reader_content() on null in /home/hirestre/public_html/wp-admin/includes/class-wp-list-table.php:380 Stack trace: #0 /home/hirestre/public_html/wp-content/plugins/task-scheduler/include/class/admin/page/root/TaskScheduler_AdminPage_Form.php(216): WP_List_Table->views() #1 /home/hirestre/public_html/wp-content/plugins/task-scheduler/include/class/admin/page/root/TaskScheduler_AdminPage_Form.php(180): TaskScheduler_AdminPage_Form->_getTableOutput() #2 /home/hirestre/public_html/wp-includes/class-wp-hook.php(286): TaskScheduler_AdminPage_Form->content_ts_task_list('<noscript><div ...') #3 /home/hirestre/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters('<noscript><div ...', Array) #4 /home/hirestre/public_html/wp-content/plugins/task-scheduler/include/library/apf/factory/_common/utility/wp_utility/AdminPageFramework_WPUtility.php(294): apply_filters('content_ts_task...', '<noscript><div ...') #5 /home/hirestre/public_html/wp-content/plugins/ta in /home/hirestre/public_html/wp-admin/includes/class-wp-list-table.php on line 380
Great plugin!
I’m having an issue creating my first task. The inputs to my function, which is in functions.php, are $isExitCode and $oRoutine. At the end of my function, I include the line “TaskScheduler_Debug::log( $oRoutine->getMeta() ); return 1;”. I use an add_filter to call the function.
In the Dashboard, I proceed to add the function as a task scheduled daily by calling the add_filter – I followed the instructions given on the plugin’s welcome page. But the function doesn’t show up on my list of Tasks to be performed. Any suggestions? Thank you
]]>Hi,
I used the bitnami-wordpress 4.9.5.0 version to install the wrodpress. Everything is fine and welcome page can shown properly. I intent to execute the PHP file for every 10 minutes. During adding the task then I intent to select the folder of PHP file and found it only shown “img” folder and nothing can be selected. Can you let me know what kind of possibility error can cause this happen?
By the way, i have installed the bitmami-wordpress as super user but it does not work out as well. Also, i have tried Mac OS and Windows version, but the result is the same.
]]>Hi there!
Great plugin. I’m using the email task in the plugin. I am wondering if there is an easy way change the content type of the email to HTML (or send both txt and html). Since the tinyMCE edit window is enabled that emails are sent in both types.
]]>