|
  |
Cron Jobs, Setting up cron jobs on nsHosting Shared (Small-Unix) |
|
|
|
|
Nov 7 2009, 03:30 PM
|
Group: Verified NS Member
Posts: 15
Joined: 7-November 09
Member No.: 6,188

|
Hi, I'm the technical consultant for a site hosted by Network Solutions®. The package we have is the nsHosting Shared (Small-Unix). I'd like to find out how to configure/setup cron jobs, or how to access the crontab program.
|
|
|
|
|
|
|
|
Nov 7 2009, 05:26 PM
|
Network Solutions Technical Support
Group: NetSol Staff
Posts: 50
Joined: 23-October 09
From: Drums, PA
Member No.: 5,879

|
cron jobs are configured by selecting nsHosting -> Toolbox -> Scheduled Tasks (down toward the bottom of the page under Configurations). Your cron jobs are limited to a 5 minute execution time and you may not run a task more frequently than twice per hour. There is no mechanism to interact directly with cron with your own crontab file.
|
|
|
|
|
|
|
|
Nov 7 2009, 05:35 PM
|
Group: Verified NS Member
Posts: 15
Joined: 7-November 09
Member No.: 6,188

|
Thanks, this looks helpful. Just to confirm, I can have a PHP script as the command to run?
|
|
|
|
|
|
|
|
Nov 7 2009, 05:52 PM
|
Network Solutions Technical Support
Group: NetSol Staff
Posts: 50
Joined: 23-October 09
From: Drums, PA
Member No.: 5,879

|
QUOTE (Hamman @ Nov 7 2009, 05:43 PM)  Thanks, this looks helpful. Just to confirm, I can have a PHP script as the command to run? Absolutely! You may have to set the file permissions to 775 which is not necessary for php scripts run directly within your site. You should also enable logging so you can track errors: nsHosting -> Site Stats -> Raw Log Files.
|
|
|
|
|
|
|
|
Nov 11 2009, 09:11 AM
|
Group: Verified NS Member
Posts: 9
Joined: 26-October 09
Member No.: 5,931

|
Hi there,
I have a Windows hosting package and I cannot see the Scheduled Tasks on the panel, where can I found it?
Thanks a lot!!
|
|
|
|
|
|
|
|
Nov 11 2009, 09:13 AM
|
Network Solutions Technical Support
Group: NetSol Staff
Posts: 50
Joined: 23-October 09
From: Drums, PA
Member No.: 5,879

|
QUOTE (Metxtli @ Nov 11 2009, 09:19 AM)  Hi there,
I have a Windows hosting package and I cannot see the Scheduled Tasks on the panel, where can I found it?
Thanks a lot!! We currently offer Scheduled Tasks (aka cron jobs) on Unix hosting pacages.
|
|
|
|
|
|
|
|
Nov 11 2009, 09:44 AM
|
Group: Verified NS Member
Posts: 9
Joined: 26-October 09
Member No.: 5,931

|
QUOTE (Metxtli @ Nov 11 2009, 10:19 AM)  Hi there,
I have a Windows hosting package and I cannot see the Scheduled Tasks on the panel, where can I found it?
Thanks a lot!! QUOTE (JonB @ Nov 11 2009, 10:21 AM)  We currently offer Scheduled Tasks (aka cron jobs) on Unix hosting pacages. But, in your page says otherwise! In other options where is not applicable to windows package is specified(Only Unix) or (Only Windows). In one phone call one of Support people tell us that this option is available also on Windows Packages..
|
|
|
|
|
|
|
|
Nov 12 2009, 07:37 AM
|
Network Solutions Technical Support
Group: NetSol Staff
Posts: 50
Joined: 23-October 09
From: Drums, PA
Member No.: 5,879

|
QUOTE (Metxtli @ Nov 11 2009, 09:52 AM)  But, in your page says otherwise! In other options where is not applicable to windows package is specified(Only Unix) or (Only Windows). In one phone call one of Support people tell us that this option is available also on Windows Packages.. I apologize for the confusion. I will submit for a correction to our site to clarify that we offer cron jobs (scheduled tasks) on Unix hosting packages only. I will also forward your concern about being misinformed when you called.
|
|
|
|
|
|
|
|
Jan 5 2010, 11:30 PM
|
Group: Verified NS Member
Posts: 132
Joined: 31-August 08
From: ky
Member No.: 2,243

|
QUOTE (JonB @ Nov 12 2009, 07:45 AM)  I apologize for the confusion. I will submit for a correction to our site to clarify that we offer cron jobs (scheduled tasks) on Unix hosting packages only. I will also forward your concern about being misinformed when you called. Here it is over a month and a half later and your hosting packages info is still not updated to reflect that Windows hosting packages have no cron support. Please advise.
|
|
|
|
|
|
|
|
Feb 1 2011, 08:04 AM
|
Group: Verified NS Member
Posts: 1
Joined: 1-February 11
Member No.: 12,704

|
Hi JonB,
I need to execute one php file daily by using cron jobs. I have already worked in this for other hosting services like bluehost, lunarpages. I have configured the crone job but i can't able to select that appropriate php file by using browse button.
When i click on browse button the pop ll display as blank. i can't able to see any files / folders in that pop up browse window.
My file in the following path /htdocs/*****/*****/*****/*****/private_message.php
I tried to give this path manually in that text box. but after save the link s automatically change to "php/htdocs/*****/*****/*****/*****/private_message.php"
Please help me for this issue.
Thanks & Regards, Thanesh
|
|
|
|
|
|
|
|
Feb 1 2011, 08:21 AM
|
Network Solutions Technical Support
Group: NetSol Staff
Posts: 50
Joined: 23-October 09
From: Drums, PA
Member No.: 5,879

|
Sorry for the confusion about the dropdown. But as you discovered you can enter the path to your PHP file manually. Regardless of the method, however, the system will alway prefix it with php as it did in your case. This is normal.
|
|
|
|
|
|
|
|
Feb 15 2012, 02:42 PM
|
Group: Verified NS Member
Posts: 1
Joined: 15-February 12
Member No.: 16,576

|
I have a fairly simple php script that I have set up as a CRON job...as suggested above, I've set permission to 775...enabled error logging....and nothing happens nothing in the error log...nothing to my e-mail...nothing.
The script works perfectly when I run from the browser...
There is only the one CRON job....please help!
Gregory
|
|
|
|
|
|
|
|
Mar 28 2012, 09:34 PM
|
Group: Verified NS Member
Posts: 3
Joined: 28-March 12
Member No.: 17,032

|
my scheduled cron jobs have not worked since the php upgrade. does anyone know why this might be. for the past two weeks no one at ns has been able to provide any insight
|
|
|
|
|
|
|
|
Mar 30 2012, 09:29 AM
|
Group: Verified NS Member
Posts: 3
Joined: 28-March 12
Member No.: 17,032

|
Hi Gregory,
If you find a solution to this would you let me know, ada@microdolly.com I've tried for two weeks and really gotten nowhere with network solutions. Like you, the php program works perfectly from the browser, so (although network solutions keeps telling me that it is the program and closing my service requests with "resolved" statuses), I'm pretty sure the problem is in the parameters in the scheduled task setup (which, by the way, had been working fine for two years until two weeks ago when they upgraded PHP).
If you send me your email address, I will let you know if I find a fix.
Ada
|
|
|
|
|
|
|
  |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|