Need help - script to send data to db on certain dates

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
User avatar
bswingin
Forum Newbie
Posts: 3
Joined: Sat Sep 15, 2007 3:57 pm

Need help - script to send data to db on certain dates

Post by bswingin »

I need to have a PHP or Perl script that sends data to my database table on certain dates without the user having requested the script or any page on that date. For example, on the 10th of October the script would automatically send data about a user (or several users) to the database table for use in the program the next time that user logs on. On the 11th of October, the same thing would happen for data about other users, etc. The script needs to work without any server request. Can anyone help me with this? Thanks so much for any help...

I am using:
Linux OS
PHP version 4.4.6
MySQL version 4.1.22-standard-log
Apache version 1.3.37


Brandon
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Make use of the crontab program of your Linux OS.

Code: Select all

man crontab
Should give you lots of useful information.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply