cronjob need help
Posted: Tue Sep 05, 2006 7:30 pm
Hello, I know this is a common question, but I tried to search before ask a question, so pls don't mind.
I'm trying to create a cron job that will execute a php script.
The ideea is that I don't know where to put the script. I mean I know into wich directory I want but I don't know what would be the path for it.
So here is what I see in my FTP program
domain.com
[etc]
[mail]
[public_html]
+ my_dir_1
+ my_dir_2
+ cgi-bin
[public_ftp]
[tmp]
I would like to put my script cronjob_script.php into public_html/my_dir_1
I use CPanel 10, and when I click Cronjobs icon, I am redirected to a page where I have to choose from Standard and Advanced.
I choose Standard, and there is a Entry 1 filed where I am supposed to enter Command to run.
My question is what is that Command, considering where I want to put my script.
Thx in advance and sorry for repeating (maybe) the post
I'm trying to create a cron job that will execute a php script.
The ideea is that I don't know where to put the script. I mean I know into wich directory I want but I don't know what would be the path for it.
So here is what I see in my FTP program
domain.com
[etc]
[mail]
[public_html]
+ my_dir_1
+ my_dir_2
+ cgi-bin
[public_ftp]
[tmp]
I would like to put my script cronjob_script.php into public_html/my_dir_1
I use CPanel 10, and when I click Cronjobs icon, I am redirected to a page where I have to choose from Standard and Advanced.
I choose Standard, and there is a Entry 1 filed where I am supposed to enter Command to run.
My question is what is that Command, considering where I want to put my script.
Thx in advance and sorry for repeating (maybe) the post