Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Cron Jobs - Cron Jobs In Cpanel


38 replies to this topic

#26 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 08 May 2008 - 01:06 AM

re: where is the mistake?
Cron Jobs - Cron Jobs In Cpanel

Tenzin, is this a test? the first thing I noticed is .Php and .Txt for an extension... Thats kinda funky. The second is your chmod. 755 is for folders, try 644 for your files.

Also, food for thought, making a call to file_put_contents will create the desired file if it doesn't exist. So, this file should have the correct chmod at creation. You can use this to verify the correct chmod for your files.

Hope that halps

-reply by riin

#27 Erdemir

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 223 posts
  • Gender:Male
  • Location:Istanbul, Turkey
  • Interests:Interested in Mechanical Engineering

Posted 26 May 2008 - 09:20 PM

How can we disable a cronjob? I will set a cronjob for every minutes for only one hour. But I don't know how to disable it, so I didn't set.
Can anyone tell me how to disable a cronjob?

Thanks...

#28 rvalkass

    apt-get moo

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,107 posts
  • Gender:Male
  • Location:Devon, England
  • Interests:At the moment, Physics mainly!
  • myCENT:69.42
  • Spam Patrol

Posted 27 May 2008 - 09:12 AM

View PostErdemir, on May 26 2008, 10:20 PM, said:

Can anyone tell me how to disable a cronjob?
  • Log in to cPanel
  • Scroll to the bottom of the page, and click Cron jobs in the Advanced section
  • Click on Standard
  • Click Delete on the cron job you want to get rid of


#29 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 12 August 2008 - 12:30 AM

No such file or directory ?
Cron Jobs - Cron Jobs In Cpanel

I've activated cron job in cpanel, but I get error. What's wrong ?
"/bin/sh: usr/local/bin/php: No such file or directory"
Pls help .. Tq

-reply by han-han

#30 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 26 August 2008 - 06:43 AM

HTACCES CRON JOB
Cron Jobs - Cron Jobs In Cpanel

Good morning,

I have a host to make cronjob. However, the script called is a bigger level memory is the 32M given to my script is not enough.

I therefore creates a file with the directive htaccess php_value memory_limit 200M, when I call myself this script with a browser my script ends properly because I now has 200M memory.

But now when I set my cron job with this script is well I return errors memory allocation, it seems that the htaccess file is ignored. I tested raise_memory_limit ( "200M"), ini_set ( "memory_limit", "200M"), but nothing done.

The call from my script "php / home / sqdqs / monscript.Php," there is no t'il php parameters to be included in the order (genus php-q)?

Have you any idea of solution?

Thank you

-reply by Smalldevil

#31 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 27 August 2008 - 01:05 PM

Thanks for the nice tutorial
Cron Jobs - Cron Jobs In Cpanel

Replying to Se�or ManiacThanks for the nice tutorial

-reply by Ayub

#32 Blood

    Newbie [Level 1]

  • Kontributors
  • Pip
  • 18 posts

Posted 28 August 2008 - 11:22 PM

omg thank you so much i been looking for this for ages when i had my old host i was trying to figure out how to do this. Thank you so much. i know this a little off topic but how you like the hosting here.

#33 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 07 September 2008 - 03:34 AM

Hot to Edit and Delete Cron
Cron Jobs - Cron Jobs In Cpanel

Its very nice article on crones. Thanks

We have two options in cpanel for cron jobs.
1: Standar Cron [for new user]
2: Advanced Crone [for advanced user]
I had created cron with both options but they are not visible any where so I can edit or delete them, there are two options in cpanel cron jobs

Please tell me where are my created crones ?
How to edit or delte previously created crones ?

Hope you will help..

-reply by Panwar
--------------------
admin reply
--------------------

I m sure your CRON was not set properly.

OR

They got lost by some config change by your Webhost.

Try setting them again. :)

#34 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 25 October 2008 - 06:10 AM

Hi,
I one php file name mail.Php
I want to set cron job like
My php file would be execute per day 7pm
I see your site I understand it but
Please give exact code how to do this and exact path.
Please quick reply
Thanks
Sangam

-reply by sangam

#35 iGuest

    Hail Caesar!

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5,876 posts
  • Interests:Trap17 Free Web Hosting, No Ads

Posted 18 March 2009 - 02:13 AM

Thank you!Cron Jobs - Cron Jobs In CpanelThanks so much for this tutorial!I'm new to php and have created an automated newsletter mailer. I needed my program to run behind the scenes without me having to load it in a browser and loop it. You explained things clearly and this is exactly what I was looking for. Other tutorials are for "experts".You rock!-reply by vitajay

 






Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users