27 Topics
|
|
I have developed Laravel application which allows dynamic subdomains. I mean single code for all tenants.each tenant will have separate database. But how can I setup crons for each subdomain? |
|
I want to set cron job using codeigniter, in godaddy shared hosting i used the following code to execute `movies` controller's `cool` method. /web/cgi-bin/php5 "$HOME/html/MOVIESDOM.COM/index.php" movies cool Problem is it always execute default controller. Pls tell me how to execute `movies` controller's `cool` method |
|
hi, how to send email when the server in down in php with cron ? i have 4 server and i want to check every 2 minutes that if any server is down , email send to my gmail account . email send once in 24 hrs not after every … |
|
So I've got a php script that emails me a daily database backup via cron. The script will either output success or failure upon mail->send(), and it always succeeds. However, no email ever is delived *if* the domain name is the same (i.e. www.example.com and myself@example.com), but if I send … |
|
Hi i am new to paypal , my client need to pay the payment in the date which was set by the admin , is it possible to do this using cron . is any method is there in paypal . i search in google but i didn't find the … |
|
Hello I am writing an PHP module for admission process. It have an admission form. Tentatively ddmission process start from mid of March and ends in mid of May (not fixed). My question is what is the best way to activate and deactivate the calendar control of this admission form … |
|
My site is hosted by a hosting company which does not allow me to access the normal cron logs. I want to redirect the output and error messages to a log file in my user space. My cron commmand is /usr/bin/curl -s "http://my/path/to/updateWebsite.php" > dev/null I want to send the … |
|
Hello All, Having a few problems with the code below and wondered if someone could shed some light on it, I have a php script running from a cron that runs every 15 mins the error I am getting tom the cron is `PHP Notice: Undefined variable: rows in /var/www/vhosts/server.com/migration_tracker/staff/5th_email.php … |
|
I'm not sure exactly which forum to ask this,so I'm starting here, I have a cron job I want to execute every 72 minutes. I've researched how to schedule the job for an interval of 60 min or less, but is there a way to specify a minutes interval when … |
|
I'm trying to run a cron job on my web server. I used the cron module at the cPanel to add the file and used this command.. `sh ./public_html/crark/run.sh` The problem was that it takes the root folder context for all the followed processes i.e. I call run.sh from cron … |
|
Hi My error log is showing the following error every five minutes so I suspect it is related to one of my cron jobs, The error is: PHP Notice: Undefined index: HTTP_USER_AGENT in /home/myaccount/public_html/mysite.com/app/config/config.php on line 18 The relevant line 18 is: $_is_hashbang_supported_bot = (strpos($_SERVER['HTTP_USER_AGENT'], 'Googlebot') !== false); Line 19 … |
|
I have a script that is requires a cron job. The script has the option to run a manual cron job which works fine and the option of seting up an automatic cron job which is where the problem is. The support from the scripts authors is poor as they … |
|
Hi Friends, Can anyone one have an idea about how we make cron in php. I mean i have to records of 6000 email id and we have to send mail them randomly selected email templates with in 48 hour. Once student got the mail from then from the database … |
|
Hi, I am new to Unix environment. Any one can explain how I can set CRON job to run PHP script. Thanks. |
|
Hello, I never used cron jobs before and now I have this scenario: I have a table with a Boolean column called: new. I need to check this table every day, and if the record was created 30 days ago, I need to update the column to False. Do I … |
|
I am working on a project in which i need to send emails after 3 days of adding projects .is it possible using php? |
|
Hi, I have PHP script which is calculating some Google Maps API functions in Javascript and then sending output back to PHP. My biggest problem is, that i need it to run at intervals, but AFAIK cron can't handle javascript I've tried a little workaround - setting cron which sends … |
|
Hi I've writen a server is PHP that i want to run every min. so i can do something like in cron [CODE]*/1 * * * * lynx -dump http://www.somedomain.com/myserver.php[/CODE] But i want to make sure there only 1 running. The web tells met to check for an prosesid but … |
|
Hi Guys, I have set up a cron job on a Centos server that is supposed to execute a script that looks for SMS messages in a queue and processes them. My crontab file is under [B]/etc/crontab[/B]. The job is supposed to be run after every 5 minutes. The command … |
|
Hi I test my web on my localhost(winxp+ie8+mysql5.0.51a+PHP 5.2.11+Apache 2.2.13). I want to add some cron job for my php files. I select Pycron. After configuration, I add some command in crontab.txt [CODE]* * * * * "C:\Program Files\Internet Explorer\IEXPLORE.EXE" http://localhost/test/index1.php.[/CODE] It is success, it will open IEXPLORE.EXE and load … |
|
Hey all, I have several cron jobs running but some of them take a lot of time to complete, since it requires fetching data from an external website and then updates my site's database. My hosting provider has a 120 second time limit for PHP scripts, which is too low … |
|
Hello, I am new to Cron and want to test if it's working, I don't have a live server so I am using xamp and wamp. How can I test if my cron code is working? I don't want to use windows scheduler as I am not interested in performing … |
|
|
Hi All I am trying to create script which will update the database every 24 hours to reset a row back to 0. My web host cron job panel does not work so that is why i am asking you for help. I will be very grateful for any help. … |
I want a PHP cron script to be set up with cPanel cron jobs that would take backup of MySQL database. Regards, |
|
Hi, I am facing problems in scheduling the cron to run on first monday of the everymonth. Can anybody help me out? Regards, sri |
|
my api parsing script has dynamic url, like scriptname.php?limit=100 here this last 100 will change;varying from 0 to the number of lines from the file returned by first cron. And i want to this script to execute as a cron job, but how this parameter 'limit' i should handle. any … |
|
Hi, I have a corn.php file that runs automatically every day and one of the functions is to send an e-mail to certain users. The problem is that the e-mails are being sent twice. I can't find anything wrong with the cron file, but checking the access_log.processed file of the … |
The End.