Jump to content


cPanel, cron jobs and SSH commands oh my


1 reply to this topic

#1 Lang

    Young Padawan

  • Members
  • Pip
  • 198 posts
  • Gender:Male
  • Location:Ontario, Canada

Posted 07 January 2006 - 04:01 PM

I'm using cPanel and my website runs of many many cron jobs. However, for some reason the cron jobs are generating 0 byte files. Is there a way to stop this in the command? Or an option in cPanel?

Thanks in advance,
Lang :wacko:

#2 NGPixel

    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 08 January 2006 - 05:43 PM

add "/dev/null" to your commands

this will send the output to the trash. (when using 2>&1, ex: /dev/null 2>&1)
so you get no output from it.

Edited by NGPixel, 08 January 2006 - 05:48 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users