| View previous topic :: View next topic |
| Author |
Message |
dollarek
Joined: 11 Jan 2008 Posts: 34
|
Posted: Feb 12, 2008 5:42 am Post subject: crone work |
|
|
I am having problem with setting up a cron job i use plesk 8
this screen shows how i setted it up . ..
And where do i edit to change text that is displayed after link expires? |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Feb 12, 2008 6:50 am Post subject: |
|
|
1. What problem with CRON??
You setted it a bit wrong. Should be
| Code: | | cd /var/www/vhosts/hotdir.eu/cgi-bin;./cron.pl >/dev/null 2>&1 |
2. Expired text
You can change it in .htaccess for FileServer |
|
| Back to top |
|
 |
dollarek
Joined: 11 Jan 2008 Posts: 34
|
Posted: Feb 12, 2008 9:51 am Post subject: |
|
|
| Ok, thank you will test it today. |
|
| Back to top |
|
 |
Namaless
Joined: 20 Apr 2008 Posts: 107 Location: Italy
|
Posted: May 31, 2008 11:19 pm Post subject: |
|
|
| PilgrimX182 wrote: | 1. What problem with CRON??
You setted it a bit wrong. Should be
| Code: | | cd /var/www/vhosts/hotdir.eu/cgi-bin;./cron.pl >/dev/null 2>&1 |
2. Expired text
You can change it in .htaccess for FileServer |
Sorry, but this code line set automatic pruning files?
Or need to setup cron?
Regards. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jun 02, 2008 7:51 am Post subject: |
|
|
| Code: | | cd /var/www/vhosts/hotdir.eu/cgi-bin;./cron.pl >/dev/null 2>&1 |
this code should be inside crontab joblist file. only with your correct path. |
|
| Back to top |
|
 |
Namaless
Joined: 20 Apr 2008 Posts: 107 Location: Italy
|
Posted: Jun 02, 2008 8:06 am Post subject: |
|
|
| PilgrimX182 wrote: | | Code: | | cd /var/www/vhosts/hotdir.eu/cgi-bin;./cron.pl >/dev/null 2>&1 |
this code should be inside crontab joblist file. only with your correct path. |
Please help me.. How To add into crontab joblist? |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jun 02, 2008 8:52 am Post subject: |
|
|
lol. If you have cPanel, there's special page Cron Jobs.
If you have SSH console, you can type "crontab -e" and then edit crontab jobs as a text file. |
|
| Back to top |
|
 |
Namaless
Joined: 20 Apr 2008 Posts: 107 Location: Italy
|
Posted: Jun 02, 2008 9:23 am Post subject: |
|
|
| PilgrimX182 wrote: | lol. If you have cPanel, there's special page Cron Jobs.
If you have SSH console, you can type "crontab -e" and then edit crontab jobs as a text file. |
Thanks, added this line in crontab:
| Code: |
0 * * * * /var/www/virtual/domain.com/cgi-bin/cron.pl >/dev/null 2>&1
|
It's correctly?
Thanks. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jun 02, 2008 11:58 am Post subject: |
|
|
| Nopes. It's black on white: "cd" first, then run ./cron.pl. Cause it need modules from local folder. |
|
| Back to top |
|
 |
Namaless
Joined: 20 Apr 2008 Posts: 107 Location: Italy
|
Posted: Jun 02, 2008 12:12 pm Post subject: |
|
|
| PilgrimX182 wrote: | | Nopes. It's black on white: "cd" first, then run ./cron.pl. Cause it need modules from local folder. |
Thanks.. sorry for my low know linux system.
Fixed.. now for testing if works correclty need to waiting expired files?
Regards. |
|
| Back to top |
|
 |
|