Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7190841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T19:36:07+00:00 2026-05-28T19:36:07+00:00

Possible Duplicate: PHP: running scheduled jobs (cron jobs) How to run a PHP file

  • 0

Possible Duplicate:
PHP: running scheduled jobs (cron jobs)
How to run a PHP file in a scheduled task (Windows Task Scheduler)

i want execute php code in 1:00 clock in every day . Scorsese i know php running when web page viewed .
for example i want update field of my database in Specified time (e.g 1:00 clock).
there is way or not ?
thanks .

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T19:36:09+00:00Added an answer on May 28, 2026 at 7:36 pm

    may be you could try with things like this one :

    http://kevin.vanzonneveld.net/techblog/article/create_daemons_in_php/

    Is for do one daemon with php and later configure it as you want. Other possibility is crontab and with it execute one file each 1m,2m,…( execute contrab -e for edit it and crontab -l for see it ) :

    */1  * * * * /usr/bin/php /Users/rfanjul/Public/inversia/app/console twitter:hashtags:get
    

    the last option is create one bash file like this one:

    tiempo="10s"
    comando="sensors"
    fich_salida="temperatura.txt"
    while [ true ]; do
    sleep $tiempo
    echo ///////////////////////// >> $fich_salida
    echo ///////////////////////// >> $fich_salida
    date >> $fich_salida  
    echo ///////////////////////// >> $fich_salida
    $comando >> $fich_salida
    echo ///////////////////////// >> $fich_salida
    done
    

    For you i think that the better solution is crontab with this configuration:

    * 1 * * * file
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: PHP: running scheduled jobs (cron jobs) How can I make my PHP
Possible Duplicate: PHP: running scheduled jobs (cron jobs) I need to update a database
Possible Duplicate: Best way to periodically execute a PHP script? I need to run
Possible Duplicate: php execute a background process how can I achieve a task that
Possible Duplicate: PHP list all files in directory ive got a cron job running
Possible Duplicate: PHP code is not being executed (i can see it on source
Possible Duplicate: Super fast getimagesize in php I want to get the image sizes
Possible Duplicate: PHP server on local machine? Is it possible to run .php files
Possible Duplicate: PHP: How to generate a random, unique, alphanumeric string? i want to
Possible Duplicate: Asynchronous shell exec in PHP i need to run a java program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.