|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
release site
hey im confused on this i need to make a script that launches my site 2 days from today. Basically i have an index.html and index2.php i want the index.html to be deleted and the index2.php to be renamed to index.php at the time of opening and a clock showing how many days to go is this possible in php or should i try and use cronjob? if i need to use a cronjob can anyone tell me the command
|
|
#2
|
||||
|
||||
|
RE: release site
Use both. To delete index.html at midnight on Feb. 1, 2004 add this to your crontab:
0 0 1 2 2004 rm /path/to/dir/index.html To rename index2.php to index.php: 0 0 1 2 2004 mv /path/to/dir/index2.php /path/to/dir/index.php For the countdown clock on a webpage, just use PHP to display it. The number of seconds can be gotten from: |
|
#3
|
||||
|
||||
|
RE: release site
thanks ive set it up.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Programming Theory > release site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|