Once you have php-cli installed, you'll need to add this as the first line of the php program...
#!/usr/bin/php -q
Similar to perl. Just tell the program where to find the interpreter (php executable). Then use "crontab -e" to edit the crontab. Learn vi commands.
"INSERT" key to start changing usually works.
"ESC" to exit insert mode.
":w" to write the file (that's colon then double-u)
":q" to quit editing crontab.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.