Jump to content

if day and hours in php


Recommended Posts

If you wanna run a query each Saturday at a specific time I'd highly suggest you're using an Event Scheduler depending on what Query you wanna run.

https://dev.mysql.com/doc/refman/5.7/en/event-scheduler.html

 

This allows you to time reoccuring queries and manage them directly via mysql instead of running php.

  • Love 1

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

11 hours ago, HITRON said:

Use Crons


I'm already using cron on cpanel.
 

wget -q -O - "https://www.myurl/file.php" > /dev/null 2>&1	

Silence cron ^^

#closerequest

11 hours ago, Vanilla said:

If you wanna run a query each Saturday at a specific time I'd highly suggest you're using an Event Scheduler depending on what Query you wanna run.

https://dev.mysql.com/doc/refman/5.7/en/event-scheduler.html

 

This allows you to time reoccuring queries and manage them directly via mysql instead of running php.


I did so to manipulate the data with PHP pulling the data from the database.
Thanks

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Moving server from FreeBSD 11.2 to 13.2 - lib needed

    2. 0

      I just implemented some costumes and they are not visible

    3. 0

      Skill Tree Problem

    4. 97

      Ulthar SF V2 (TMP4 Base)

    5. 5

      Client Crashes through Offline Shop (Ikarus)

    6. 5

      VIVY-WORLD2 - FARM TO THE TOP

    7. 0

      ToolTip Bug?

    8. 0

      Skill tree build erorr

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.