run a php automatically after every hour

I am using a shared windows hosting in which sending 120 mails/hour is allowed though php code. i have a php page to send emails more than 200 mails at a time.But i want to run the page, after every hour(scheduled task). I will split the emails(in 100s) and want send automatically after every hour.

How is this possible in php to run a php page after every hour ?


-------------Problems Reply------------

You can schedule a task in Windows - control panel->administrative tools is where you find task scheduler.

Use PHP Cron Jobs with cPanel

cPanel Simple Cron

you can get started with the simple cron tool built into cPanel. The url for it is:

The command to run:

/usr/local/bin/php -f /home/(username)/public_html/page.php

Next you'll want to select an option from all the select boxes. Remember to select an option in each box. If you want something to run every hour, select Minute: 60; Hour:Every; Day: Every; Month: Every; Weekday: Every;

Click save and you are all set! You'll get an email every time the cron job runs, but if you don't want to get it - put :blackhole: into the output email field at the top.

Use a script on Google AppEngine to "ping" yours (Scheduled Tasks to be more precise). It's free to use.

Category:php Views:0 Time:2012-02-12

Related post

  • How do I configure Eclipse to run your tests automatically? 2009-08-07

    I read this article: Configure your IDE to run your tests automatically It's pretty easy to configure Eclipse IDE to run an Ant target every time a file is saved. MyProject -> Right-click

  • how can I run an app automatic after restart? 2011-09-20

    how can I run an app automatic after restart? (by c# code) I create A new string in 'runOnce' key in registry with the path of the App. the OS run this APP before it load the OS my problem is: My APP loads but explorer doesn't load, after I close my

  • Slowwww Startup - Fix it Resolution was 'Running multiple programs automatically can delay your computer's startup' 2012-06-29

    Hi, My computer running the Windows 7 OS, has been extremely slow of late. The bootup is as how it was earlier, but somehow, once tthe desktop is loaded, i cannot click or open up any application for a good 10-15 minutes. I have tried removing all un

  • I want to run a macro automatically when workbook opens 2013-02-02

    Ask for an example I want to run a macro automatically when workbook opens . Please suggest a sample code for it . --------------Solutions------------- Open the workbook. Press Alt+F11 to activate the Visual Basic Editor. Double-click ThisWorkbook in

  • run apps.diag automatically 2013-09-13

    Hi! As the apps storage frequently get corrupted, according to all the posts I see here, I'd like to know if it is possible to run it automatically. for instance before each shutdown. --------------Solutions------------- Hi, When you say “Method I an

  • Running qtp tests automatically from a hudson instance 2009-03-25

    We have at work a Hudson machine that acts as a build server for a Java Swing Project. The build process is based on Ant scripts (and not Maven). Has anyone integrated tests from QuickTest Professional is such configuration? In other words: Is it pos

  • Running BlackBerry application automatically directly after installation 2009-08-02

    I have written an application that injects some menu items in other BlackBerry applications (for example a "bookmark this page" menu item in the BlackBerry browser). I have configured the application to be run automatically at startup (of the device)

  • Is there anyway to run PHP script automatically without user interaction? 2009-11-26

    I want to send mail to user daily. For that I will store the database some records. The PHP Script will send each record daily as mail to the user. These should be done automatically without admin or user interaction. Please give me some help or sugg

  • run php script automatically 2010-12-07

    i have a php script that should be run automatically every day. as the php script is run on a request,how can i do it? is there any way else using cronjob task? --------------Solutions------------- Two options: Use crontab demon Hire a worker and mak

  • How to run a program automatically as admin on Windows startup? 2011-03-25

    I created my own parental control app to monitor my kids activity. The app's only GUI is a task bar icon. The program is installed as admin. I'd like this program to be started up automatically as admin user on Windows startup, so that standard users

  • I want to run a codeunit automatically in nav2009 2011-03-29

    I want a codeunit to run automatically at certain time intervals everyday or once every there any procedure in nav to achieve that?i preferably would not like to run or start nav(from the program files) for that but without starting nav. ----

  • install ".run" programs with automatic yes/ok/- option 2011-06-11

    When I install packages in linux environment I can set the automatic 'yes' option, for example yum -y install ... or apt-get -y install... Is there a way to do the same but for ".run" programs. For example as, sudo sh -y So that whenever it ask

  • Run JUnit tests automatically before commit in Eclipse 2011-06-14

    This nearly identical to this question with two differences. I want to run unit tests right before commit and not all of the time (accepted answer). The answers and comments to the question seem to indicate that the suggested plugins are no longer su

  • How do make rake run a task automatically with no arguments? 2011-06-26

    When I run 'rake' with no arguments rspec and cucumber will trigger automatically. I'd like the jasmine:ci task to also run when this happens. How do I achieve this? --------------Solutions------------- In your Rakefile you can define custom tasks: t

  • Running Javascript function automatically 2011-09-13

    I have found a javascript function that inverts colors on webpage: String javascript = "javascript: (function (){var newSS, styles = '* { background-color: black ! important; color: green !important; }a:link, a:link * { color: green !important; text-

  • Run custom task automatically before/after standard task 2011-10-19

    I often want to do some customization before one of the standard tasks are run. I realize I can make new tasks that executes existing tasks in the order I want, but I find that cumbersome and the chance that a developer misses that he is supposed to

  • Wordpress > Run SQL code automatically after install 2012-01-30

    I have SQL queries that I want to run automatically after wordpress installation has completed. I have a php file that will reference a .sql file and automatically run all of the queries inside it, however, you have to manually browse to

  • How to run a program automatically on my terminal login in unix 2012-03-13

    Is it possible to write a shell script that automatically starts running whenever i login to my unix terminal? Please provide any reference material --------------Solutions------------- Add your script inside your .profile . .profile is executed when

  • Trigger to run another program automatically 2012-05-02

    When I am watching a movie via Media Player Classic, I would like to use my phone to operate as a remote. So it requires a program loaded, like Unified Remote or the like. Would it be possible to load it automatically and unload it when I exit the mo

Copyright (C), All Rights Reserved.

processed in 0.146 (s). 11 q(s)