i got a file fetch.php
for now i am manually calling it from a bookmark once a day to execute the script.
i want to set kind of like a cron..that just goes to fetch.php once a day..
is it possible..
the fetch.php file has a html and bunch of javascript thats why cron doesn't work..
thanks... if you need clarification let me know..
...
I cannot set cron time to less than 1 minute even on my dedicated server.
I need it to run every 15 seconds because it calls betfair api and calculations are highly time dependent.
Please advise.
...
Just when I thought I was understanding cron jobs, I realize I'm still not understanding. I'm trying to set up a cron job through Dreamhost to ping a URL once an hour. This URL when visited performs a small(ish) query and updates the database.
A few examples I've tried which haven't seemed to of worked:
wget -O /dev/null http://www.do...
I have a script that is going to be run by via CRON every night and will take entries in one database and process them. I am curious what methods would be best to take so that I don't use too much memory/error out or lag the server potentially. There could be anywhere up to maybe 6,000 entries that need to be processed...
I am curious o...
I'm setting up a cronjob to run every 30 minutes on a Linux server.
When does the 30 minute countdown start? Is it counted from the minute I created the cronjob or is it based on a preset 30 minute schedule?
For example:
If I create a cronjob at 9:32, set to run every 30 minutes, will it run at 9:32, 10:02, 10:32, 11:02...
Or is ther...
when i try to use cron to execute my python script in a future time,i found there is a command at,AFAIK,the cron is for periodly execute,but what my scenario is only execute for once in specificed time.
and my question is how to add python script to at command,
also it there some python package for control the at command
my dev os is ub...
how can i call some url like stackoverflow.com from cron without getting return data from page?
...
Hi, I'm trying to figure out a way to do the following with php:
Have a website (index.php) check an e-mail inbox every 15 seconds or so, read the subject line, and the contents of the message, and then display that message on the screen. The idea being it will display all the messages in the inbox on the index.php page as they get sent...
Hi All,
I have set up a cron job for sending emails from my site using php. It was working fine.
Today I got one error message like this "/bin/sh: line 1: 29681 Bus error".
Could you please tell me what is this bus error and its solutions?
Thanks In Advance
Rose
...
I don't think this is an exact duplicate of other questions, but feel free to point me somewhere if it's already been answered.
I'm looking for a way to have a cron job only start running if it isn't already running. For example, if a job runs every 15 minutes but occasionally takes an hour to run, I don't want duplicate processes to st...
I'm having such a hard time getting this to work. I have looked all over the place. Here's the situation.
I'm hosting in a shared environment. I am dynamically creating a crontab file and trying to execute is using exec command. Everything runs fine when I do this via telnet but when I run my php file that runs this exec command, I get ...
I'm having problems with Wordpress' internal cron system. For some odd reason, it seems that Wordpress is killing off the process before it is even finished.
I am aware of some kind of fix in wp-cron.php and that I should change the timeout from 0.01 to something else, however this has not helped with the issue.
My cron job can at time...
I have following Scenario:
PHP(Server, Writer) ----> MySQL Database <------ PHP(Client, Reader/ Writer);
PHPS = PHP Server
PHPC = PHP Client
How it works?
PHPS writes data to temporary database tables (queue_*).
PHPC is triggered by a 1 hour cron.
PHPC starts, connects to database and caches all records locally (how? no idea, lo...
Hi, I have an auction website www.partsupplyonline.com. When an item is bid on and reaches the reserve, it should go into "won" or "sold" in the users account. Instead, it just goes into ended? I have a cron job set up, which closes the auction every 5 minutes, which is wget http://www.partsupplyonline.com/cron/cron1.php >/dev/null Pleas...
Hi all,
For a work project I am undertaking a task that will see me create a C#.NET Windows Service that will run 24/7. The program will essentially simply move files (based on a given path and a regex) between various locations - from/to HTTP, Network Paths and FTP. The administrator will schedule these jobs via an administration page...
I'm trying to figure out how I should be reindexing Sphinx. I'm using v 0.9.9, so I don't have the ability to do real-time updates of the index.
I think I read somewhere that this can be done using a cron job, and that the index does not need to be entirely rebuilt (so no stopping the daemon). That said, I've never written nor run any c...
So I'm creating a Rails app that will function as a directory for contact information in our organization. But it's not as simple as it sounds.
We have a large LDAP-enabled directory which contains information for all of the users in our organization of tens of thousands.
We have a smaller, separate LDAP-enabled directory which contain...
i have 10 users. and i want to set a cron for that 10 users. Now when a perticular user logged in he can set the corn time from his panel and cron will run at that time .Also when new user added a new cron will be set for that user with default time according to application.
how can i achieve this?
...
#! /bin/bash
`sqlplus -s <username>/<passwd>@dbname` << EOF
set echo on
set pagesize 0
set verify off
set lines 32000
set trimspool on
set feedback off
`SELECT starts_with, SUM (total_records) total_records
FROM (SELECT ID,
(CASE WHEN ID LIKE '2%' THEN '2____'
WHEN ID LIKE '3%...