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

  • SEARCH
  • Home
  • 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 6055243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:14:36+00:00 2026-05-23T08:14:36+00:00

So i have this script schedule.php that i want to run at every 5

  • 0

So i have this script schedule.php that i want to run at every 5 minutes. The script checks for something, modifies the database and sends some mails.I have WAMP server on windows 7 ultimate. I tried using windows scheduler but i think it only works for windows server and cron jobs works only for linux.

  • 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-23T08:14:37+00:00Added an answer on May 23, 2026 at 8:14 am

    There are a few ways to do this, one of the ways I have succeed in the past was to make a .bat file or a PowerShell (.ps) file which can be invoked by the Windows as a Scheduled Task. I prefer this method since, on the Windows platform, you get the GUI of all your Tasks in one location and it is easy to keep track of them.

    The quick and dirty solution can be found for PowerShell in this StackOverflow article but I’ll paste the solution here as well:

    $WshShell = new COM("WScript.Shell");
    $oExec = $WshShell->Run("C:\wamp\bin\php\phpVERSIONNUMBER\php-win.exe -f C:/wamp/www/path/to/backgroundProcess.php", 0, false);
    

    Hope this is helpful and gets you headed in the right direction.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP script that needs to be run at certain times every
I have this script that collects data from users and I want to check
I'm trying to get a PHP script to run every 30 minutes on my
I have this bash script on the server that runs every hour, via cron.
I have this script and when i try to run it, it just says
I have this script <?php if (!empty($_FILES)) { $tempFile = $_FILES['Filedata']['tmp_name']; $targetPath = dirname(__FILE__)
I have a script that's scheduled to run periodically on a customers production server
so i have this script that is simply fading p tags in and out
I have some long-running CLI PHP scripts that run regularly via cron. I'd like
Possible Duplicate: PHP Curl script to pull data from remote server every 10 minutes

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.