| Site Maintenance Program updates, securing your website, creating backups. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Apr 2004
18 posts
Gave thanks: 0
Thanked 0 times
|
send a file when timestamp changes?
I have a cron job that runs a php script that sends me the contents of a file. is there any way to have that file sent only when the timestamp changes?
__________________
Server: Sonet |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Apr 2004
18 posts
Gave thanks: 0
Thanked 0 times
|
Nevermind.. I have solved the problem.
IN the php file that writes to the file I want to send, I added the date command and had it write to the invoicedate.txt than in the cron php script, I added PHP Code:
__________________
Server: Sonet |
|
|
|