Cron jobs - how to? - SSH - Time in command line?
This is my first post in this wonderful community, by just browsing this forum i leanred soo much about linux!
Anyways, i have a questions about cron jobs on SSH
note: i am a noobie.
other notes: i am using a client called "PuTty" for SSH.
I am running CentOs (same as linux redhat)
I would like to setup cronjobs (sceduled task) on 3 files to run every 3 minute.
This is for a mail script that is suppose to check for mail and send me support tickets.
The files are located in a folder on my server
(absolute path : home/domain/www/support/email/users.php / techmail.php / mail.php)
I am having trouble figuring out what path to type in the SSH command line, although i do know that my command would have to look somthing like this:
*/1 * * * -wget -q [path to file]
please remember i am a noobie so do not laugh if my command makes no sense :(
My second question is, whats he difference between "command line version of php" and "apache module of php"
Last question: I was following a tutorial last night and i was typing in a command in SSH as directed by the tut (it was a cronjob)
and whenever i typed in the time which was represented by ( 0 3 * * * )
for 3am... SSH would say that the command is invalid, and whever i ran the cron without that part (0 3 * * *) it would work and apply the cron ONCE only. so i guess my concern is.. how do i type in the time in correct format on the command line for SSH ?
is it 0 3 *** with no spaces?
or 0 3 * * * spaced out?
Sorry for being ignorant but an answer to my questions would def brighten me up!!!
Thanks for reading!