Cron HJÆLP SØGES
Hej alle eksperter.jeg skulle gerne have dette til at køre 2 gange i timen automatisk, men jeg kan ikke køre cron.
er der nogen som har en ide til en løsning?
Nedenunder er hvad der står man skal gøre for at få det til at virke!
Create a cron job or devise another method to ensure that the page
/cron.php gets executed periodically. This page will close auctions,
notify bidders, etc. In Linux, you can create a file
/etc/cron.daily/phpauction.cron with these contents:
#!/bin/sh
lynx -dump /dev/null http://www.mydomain.com/phpauction/cron.php
*** Note: if you have PHP installde as a module the above one is the only way
to run cron. If have (or also have) PHP installed as a CGI you can substitute
the lynx call aove with the following:
PHP /absolute/path/to/cron.php
Of course the path to cron.php will depend on where you did install phpauction.
Be sure to give cron.php permission to be executable.
MVH Thomas