Tuesday, November 3, 2009

To setup cron:

list of crons:

crontab -e

0 11 * * * php -f /var/www/html/mywebroot/example.php

..............................................................

Other Commands

To make dir : mkdir
To create text file: $cat foo.txt
To edit the file: vi foo.txt
To save the file and exit vi: Esc + :wq
To save the file: Esc + :w
This quits the current file, but only if there are no unsaved changes: :q

No comments:

Post a Comment