• Resolved David

    (@lutchenpc)


    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?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    For complex tasks, you need to create a custom action. Then, create a task with this plugin associated with your custom action.

    To create a custom action, you need to code. Here is a sample action module that runs as a plugin. It should be easier for your to modify it rather than writing one from scratch. Modify the line, TaskScheduler_Debug::log( $oRoutine->getMeta() );, where the actual execution of code takes place.

    Thread Starter David

    (@lutchenpc)

    My thought was running the Force Refresh plugin at the link below at two scheduled times every day, once at 8:30am and again at 4:30pm.

    https://www.ads-software.com/plugins/force-refresh/

    Plugin Author miunosoft

    (@miunosoft)

    Hi,

    I’m not familiar with that plugin. If the desired action is handled with PHP code, you can just change the line mentioned in the previous reply to your PHP function. If it runs with JavaScript code, it does not likely to run with this plugin.

    Thread Starter David

    (@lutchenpc)

    Gotcha. Okay. Ignoring the cited plugin, would your suggestion given my request to clear cache at two times a day to just use a string something like: [?cache_refresh=true]?

    Thread Starter David

    (@lutchenpc)

    Or would it be the [wp_cache_flush()] function? I also read the Transients API, specifically, [delete_transient()] or [delete_site_transient()] are reported to be more reliable. Thoughts?

    Thread Starter David

    (@lutchenpc)

    Digging a little deeper, since the plugin already deletes expired transients, can I not delete_transient( string $transient ) the specific page during certain times of day or use the delete_site_transient( string $transient ) to just purge the site certain times of day?

    Thread Starter David

    (@lutchenpc)

    I have the Task Scheduler plugin activated, the below screenshot shows the current settings.

    View post on imgur.com

    • This reply was modified 3 years, 11 months ago by David.
    Plugin Author miunosoft

    (@miunosoft)

    Hi,

    Maybe you misunderstood transients and browser caches. Those are entirely different things.

    I checked the code of the mentioned plugin, I’m not 100% sure but I might be able to write a custom action module for what you are looking for. If you like, send me a message via the contact form then we can talk.

    Thread Starter David

    (@lutchenpc)

    Correct my understanding but what I know transients to be is, in lamens terms, database cache on steroids as to browser cache being cookies.

    I, albeit in lazy fashion regretably, tried to underscore the point Im looking as some would call “hard refresh”, “WordPress visit time”, or in other words have expiring cookies either server-side, from database or whatever just so a specific page reloads at scheduled times.

    If I’m interchanging terms incorrectly, I apologize. Ill use the contact form and send a message now.

    Thread Starter David

    (@lutchenpc)

    I tried sending the message from the link you sent from multiple browsers, on multiple devices and I get this error message “Failed to send your message. Please try later or contact the administrator by another method.” you can see from the screenshot link below –

    https://snipboard.io/2W6DAC.jpg

    Plugin Author miunosoft

    (@miunosoft)

    Not sure why you got that error as I tested the contact form and it is working. Send me an Email to wpplugins at michaeluno.jp. Change “at” to @ and remove white spaces.

    Thread Starter David

    (@lutchenpc)

    I sent you an email a minute ago.

    Plugin Author miunosoft

    (@miunosoft)

    I haven’t received it. Try the contact form with a different Email address.

    Thread Starter David

    (@lutchenpc)

    This being carried over to to troubleshoot via email, I will mark as resolved.

    Thread Starter David

    (@lutchenpc)

    CHeck your spam. It showed as it be received. Ill see about using a different address

    https://snipboard.io/a1geMy.jpg

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘daily content scheduler’ is closed to new replies.