Jump to content

Recommended Posts

From what I read a cronjob will run automatically based on what I specify in the file is that right?

If it is, is there somewhere special that the job should be placed in my directory so that it will be executed or what. I have some code I would like to run everyday but I am not sure where to put them to make it happen. Can someone point me in the right direction Please.

 

Thanks in advance.

Link to comment
https://forums.phpfreaks.com/topic/87915-solved-cronjob-question/
Share on other sites

If you have cPanel - Advanced > Cron Jobs > Experience Level > Standard

 

Command to run:

/usr/local/bin/php -q /home/veraci7y/public_html/folder/cron/script.php

...for example. Then just choose the times and what-not.

 

If you don't have cPanel, then I don't know. :D

Well I guess that solves that this is what I found:

 

cron job

A cron job is a command available to Unix system users that makes possible the automated execution of a task at predefined time intervals. One might set up a cron job to create hourly backups of a database, for example, or to send daily emails. Yahoo! currently does not support the use of cron jobs, but we hope to offer this feature with your plan in the future.

 

Is there another way to run this script at regular intervals?

nope not at regular intervals. well methods from their server.

 

u can try doing it remotely, just by having an application check the url.

WinCron

tied in with a batch file and WGet for windows

 

shud do the trick or if u have php on yer pc, wincron and a php script.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.