1. Guarantee Web site malware removal (joomla, drupal, wordpress etc) - don't let your business get down due to virus, malware and blacklist problem.
  2. Recommended Web Hosting to help you doing business online with high performance. : Support ioncube, zend and all other hosting by default.
  3. Get free wordpress website transfer : up to 4 domains Find out more .... Click here to see other user testimonial

Always use Absolute Path for your cron job. Yes, that lesson is another thing I learn from latest Godaddy case.

sucuri long Always use absolute path for cron job

Temporary solution I use for bad malware that attack my client website is create shell script that overwrite bad .htaccess file with good .htaccess file. By implement this temporary solution downtime for client websites drastically suppressed by.

Until I check my email where I set the report send to. I miss 31 job because system can find shell file.

cron Always use absolute path for cron job

Yes, I use relative path for cron job. I only set absolute path for program location like /bin/bash for bash location etc. I never see this fail before, mayble because I implement it on virtual private server or dedicated server that use special resource.

Quick solution for this situation is using $HOME. Just add that variable in front of file name and you’ll get perfect cron job.

Simple as 123 icon smile Always use absolute path for cron job

hg Always use absolute path for cron job

Related posts:

  1. Refresh .htaccess after move to new host
  2. Is GoDaddy shared servers compromised?
  3. Install wordpress blog : shell way
  4. Install IonCube Loader on Cpanel based Web Hosting
  5. Server Error 500

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2011 Hosting Formula Suffusion theme by Sayontan Sinha