Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Variable Filenames By Date In Cron Jobs


How do you insert variables in cron jobs? e.g. the current date.

Let's say I want to back up a file and append the date to it.

0 0 * * * cp /some/file.txt /some/outputfile_[DATE].txt >/dev/null
(note that I'm not sure the cp will actually work like that, it's just an example)

Where outputfile_[DATE].txt has the date in it.

Are there variables cron can use for date, hour, minute, etc.?


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Per Second Cron Jobs?
Hey everyone, my friend's dad is looking for a web host that will allow his cron jobs to run every second. Most hosts apparently dont allow cron jobs faster than 5 seconds apart.

How often a host can run cron jobs isn't really advertised on their sites so I'm having a bit of trouble finding a host. I've resorted to just sending emails to sales addresses asking about it.

Does anyone know how I can find a host like this?

View Replies!   View Related
How To Schedual Cron Jobs
I have a number of PHP scripts that I would like to automatically run daily at midnight. I am currently running a VPS server but have no idea how to achieve this. I do have webmin on my sever but am unsure of what command I need to run.

View Replies!   View Related
Cron Jobs Not Running
I have a machine, that for some reason stopped running it's cron jobs for some reason, and I can figure out how to get them working again.

My /etc/crontab file is as follows.

SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
Here are the contents of a sample user cron file.

MAILTO="USER"
10 4 * * * php -q -f /home/USER/public_html/tools/updtransfers.php /home/USER/public_html >/dev/null 2>&1
10 5 * * * php -q -f /home/USER/public_html/tools/updateexp.php /home/USER/public_html >/dev/null 2>&1
10 5 * * * php -q -f /home/USER/public_html/tools/invoice_cron.php /home/USER/public_html >/dev/null 2>&1
and another

*/5 * * * * /usr/local/bin/php -c /home/USER/php.ini /home/USER/public_html/poller.php > /dev/null 2>&1
I've checked my logs, and I can find no errors anywhere. When I run the commands manually via SSH, they work perfectly, they simply are not being run automatically the way they are supposed to be.

I have checked, and the crond service is running. I have tried restarting it, but it seams to have no affect. I really have no idea what the issue is. The only thing I seam to have found at one point, was the possibility that the files within the /etc/cron.d directory might be CHMOD'ed wrong, but I haven't found anything to confirm this either way.

[root@server cron.d]# ls -all
total 60
drwxr-xr-x 2 root root 4096 Dec 17 03:07 .
drwx--x--x 94 root root 12288 Jan 3 09:28 ..
-rw-r--r-- 1 root root 61 Jun 22 2007 csf_update
-rw-r--r-- 1 root root 81 Apr 11 2007 lsm
-rw-r--r-- 1 root root 79 Jun 22 2007 prm
-rw------- 1 root root 366 Feb 23 2007 sa-update
-rw-r--r-- 1 root root 82 Jun 22 2007 spri
-rw-r--r-- 1 root root 188 Nov 16 23:14 sysstat
[root@server cron.d]#

View Replies!   View Related
Cron Jobs Failing
I have jobs that fail every now and then. I get this email:

Looking up www.xxxx.com
www.xxxx.com
Making HTTP connection to www.xxxx.com
Sending HTTP request.
HTTP request sent; waiting for response.
Alert!: Unexpected network read error; connection aborted.
Can't Access [url]
Alert!: Unable to access document.

lynx: Can't access startfile

View Replies!   View Related
Software To Control Cron Jobs?
Is there any software which would control cron jobs? I've a problem with cpu load where some customers are running more than enough of them at the same time.

Is there any software which would be able to:

If there are more than x crons running at the same time, put others in queue and execute after there are no more than x-1 are running?

View Replies!   View Related
How To Schedule Cron Jobs In Windows
how to set cron jobs in window....

View Replies!   View Related
Free Hosting With Access To Cron Jobs?
I need a reliable, free host where I can run wget on a URL (less than 1k) every 10 minutes via a cron job.

Can anyone reccommend anything?

View Replies!   View Related
Cron Jobs And Time Zone Differences
I have a customer billing system.

I would like crons to run at midnight so that the invoices are on schedule and have the right dates etc.

My server is overseas and my time is plus 14 hrs here.

I have set my software up to plus 14 hrs time difference also.

What should I set my crons to?

View Replies!   View Related
Determine What Cron Jobs Are Killing Server And When
We're running on Linux/Apache/MySQL/RoR and have a number of cron jobs that run throughout the day on our server. We've been noticing lately that at certain times of the day the site becomes really slow. When I'm online with my engineers I can mention this to them and they can check and see and say "Oh yeah, it's job XYZ that's spiking the server load."

That's great but much of the time when I notice the sluggishness my developers are offline (we're in different time zones). I'm wondering if there's a fairly easy way to track this when they're not online so we can say "Yup, last night at 10 PM your time when you noticed that it was job ABC." There has to be something that allows you to do this right?

View Replies!   View Related
Cron Jobs Not Executing PHP Files
I have a new dedicated server and am trying to set up a cron job via CPanel on on of my accounts (we'll call it "abc" account).

In the Cron job area, where it asks for the command to run, I enter this:

/home/abc/public_html/forum/class/sendnotice.php

But when the job runs, it doesn't seem to be executing the .php file. Instead, I get stuff like this via email:

/home/acb/public_html/forum/class/sendnotice.php: line 1: ?php: No such file or directory
/home/abc/public_html/forum/class/sendnotice.php: line 2: ////////////////////////////: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 3: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 4: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 5: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 6: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 7: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 8: //: is a directory
/home/abc/public_html/forum/class/sendnotice.php: line 9: //: is a directory

So it is as if the cron job is reading each line of the .php file instead of just running it. Am I doing something wrong in setting up the cron job to run that file or could it be a configuration issue with the new server?

View Replies!   View Related
Check What Cron Jobs Have Been Added On The Server?
i find on the certain time,

the mysql of server will run a lot of query,

and the io and load will become very high,

after the time point,

all the io and load with be smoth,

so,i wonder if any Cron job has been add (by certain account) to run something,

View Replies!   View Related
Displaying Non English Filenames
basically it has to do with supporting filenames(or urls) in non English (Arabic) encoding in apache webserver....

I'm assuming that its apache that needs to be configured for this, i can't think of anything else except encoding support on the o/s too.....

funny thing is, i can upload and download non Arabic file names through ftp, and ftp displays them correctly, but they can't be accessed through a webbrowser.....

hmmmm, actually firefox can access them, it screws up the file name into funny signs but actually displays the file, I.E can't access them at all....

So, how can I enable Arabic language support on my webserver?

View Replies!   View Related
Server Can't Create Numeric Filenames
I have a server that has been running for a long time. Red Hat 7.3 (yes, I know that's old). Several ext3fs disks. For some reason I started getting odd failures. I finally found something that's wrong but I can't figure out why.

Here's the symptom: any attempt to create a directory or file name with a numeric name (digits only) fails. So:

touch 294 - fail
mkdir 399 - fail
touch x294 - ok
touch xydf - ok
The error is "no such file or directory".

This happens on all my ext3fs file systems, not just one. The kernel has been replaced with a known good one. No modules -- the kernel has everything built in. I've fsck'd the entire set of disks. A C program that directly calls SYS_open (not using the C library; using syscall) doesn't work either. The only thing that does work is debug2fs which seems to have no problem.

procfs seems to be able to have numeric directories (although that doesn't prove much).

View Replies!   View Related
Is Thread_concurrency Variable Effective
It's recommended to make thread_concurrency = Number of CPU's x 2. But this is really effective with latest mysql5 versions?
[url]
Default 10
Range 1-512

Why to set it to 8 (4 cpus), for example, if recommended default value is 10? And why to set such a low value if range is till 512?

Also, how to check assigned value as "show variables;" command omit this value.

View Replies!   View Related
PATH Shell Variable
I had a program (APF, actually) install its executable file in /usr/local/sbin/, so I went to add that directory to my PATH variable in .bashrc. I'm able to type commands to executables just fine in other directories, but for some reason I keep getting "command not found errors" from bash when I type in the name of the executable (apf), even when starting/restarting new instances of the shell. Here's my current PATH variable in .bashrc - have I overlooked something?
# Customize the path directory
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:~/bin:

View Replies!   View Related
Looking For A Streaming Host With Variable Slots
First off about myself: I'm your typical knows-enough-to-get-by web design CMS flash type guy. Nothing special no real training but if I need to run a control panel I probably can.

What I need: I'm moving an AM station(oldies) to online streaming and need a host for it. The variable here is the only reason I'm moving the station is because a radio show on it which runs 1 hour every weekday needs to expand our audience and all that good stuff. We'll be expanding the show as far as we can hopefully within the next year and on certain days we'd have more listeners due to having higher profile guests on.

However, since we have the stream 3 other shows on the radio station have offered to pay for the costs(we had to get a cable line run to the station in the first place)- presumably they would have a lower listener rate.

The question is what's the best solution here? We don't want to pay for a 2000 slot shoutcast service right off the bat, but we also need one who can rapidly expand our slots as needed, or possibly have one which just charges based on use. When we get up to high volume would it be smarter for us to just lease an unmetered dedicated server (high assumption of 1000 listeners(which is months off) for 3 hours a day running at 128k bit-rate the bandwidth really starts to add up) or a dedicated server that just charges based on usage. The latter may even be cheaper than using the high-priced-slot-based shoutcast stream servers.

I figure someone out there has already done the research can might know an answer to the problem. The key here is flexibility- no point paying $90-300/month for a dedicated server the first month if we're only getting 200 listeners on our show and 50 for the other shows but if we somehow experience a surge in listeners we don't want to be stuck at a low cap.

View Replies!   View Related
Settings Environment Variable In Fedora
I have a Fedora Linux server and I am trying to set:
PEAR=/home/pear/bin/pear

but when I try to set it under env or in a .profile file under home it still doesn't work. I even log off and log back in and I can't just run
PEAR

View Replies!   View Related
Apache Under Attack :: Configured Request Variable Value Length Limit Exceeded
My server was unstable at this month sometimes fork 700 process and apache 80 access per second and that's made server very slow . very bad browsing

when i checked log files /var/log/messages found that errors

Apr 20 04:06:28 suhosin[798]: ALERT - configured request variable value length limit exceeded - dropped variable 'message' (attacker '212.107.116.238', file '/usr/local/cpanel/cgi-sys/php4')
Apr 22 00:27:05 suhosin[15442]: ALERT - configured request variable name length limit exceeded - dropped ....

View Replies!   View Related
Using Find Command With Regex To Find All Number-only Filenames
how can i do a search for all files (probs using regex) of files consisting purely of numbers?

for e.g. find:

53243.php
24353.php
24098.php

(always have 5 numbers).

seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.

View Replies!   View Related
How Do I Keep An Up-to-date Backup
I had a big scare today. My server (vps) went down and I had no way of contacting my provider because their whole system had crashed.

I've got backups but I had never thought of a provider crash, so I left the backups on my server. I would like to keep an up-to-date backup on my computer at home.

How do I do this? I've heard of rsync, but I don't know what it is or how it works.

View Replies!   View Related
How To Set Date On My VPS
How can set a different date (of the system date) on my VPS?

I try with "date -s" but I can't change it.

I need to set up the year to 2004, for a legacy application.

View Replies!   View Related
WHMCS Billing Date
I have been in contact with WHMCS but i still cant seem to work it out properly.

What i am trying to achieve is, for not to do prorata billing and for the customer only to pay for what is rest of the month.

AND

to make all due invoices be sent out on the 1st of every month and give customers 5 days to pay the invoice before late fees will be applied.

To get this done can someone tell me what i set these options at please?

Charge Next Month - This section is in the pricing section of the item.

Prorata date - Do i set that if im not going to be doing prorata billing?

Invoice Generation - What day do i set this to to achieve what i want above?

View Replies!   View Related
Cpanel Expire Date
How can active cpanel expire date?

View Replies!   View Related
Changing Date On A VPS
to change system date back and forth.

Of course 'date -s' doesn't work on VPS. Using zic and timezones > /etc/localtime could help up to (almost) 24 hours, but dates are out of range.

Some systems can enable something like defying "Time Drift" as on some Xen versions (as shown below), but unfortunately my provider apparently doesn't support it.

# set independent_wallclock
# echo 1 > /proc/sys/xen/independent_wallclock

Is there any other way to change date on a VPS?

View Replies!   View Related
Changing System Date
We have a server located in USA. We have hosted an application for online booking of travel tickets. The customer wanted to change the system date to IST instead of EDT which we did. Now, if we try to change the system date to a future date in order to test our application, the date automatically resets to the current date. This happens only if we have the timezone as IST. If we change the system date to EDT, then after changing the system date, it does not reset automatically. It changes only if we modify it manually. However, if we change the timezone to IST, then the system date resets automatically back to the current date. We have stopped the W32 Time service and also blocked the port 123. We have also disabled the automatic synchronization with the internet time server.

View Replies!   View Related
Expiry Date Of Web Hosting
What is the way to check the expiry date of a website. Actually someone hosted my site on my behalf. I do not have password etc. My host is Jkookserver.

View Replies!   View Related
DNS Poisoning - Is Your Bind Up To Date
Vendors form alliance to fix DNS poisoning flaw

An alliance of software makers and network-hardware vendors announced on Tuesday that they had banded together to fix a fundamental flaw in the design of the internet's address system.

The vulnerability in the domain name system (DNS) - the distributed database that matches a host and domain name with the numerical address of a computer server - could give an attacker the ability to replace the addresses of popular websites with that of a malicious server, said Dan Kaminsky, director of penetration testing for security firm IOActive. Kaminsky found the flaw when he was doing non-security research on the domain name system (DNS) more than six months ago.

"It is a fundamental issue affecting the design," Kaminsky said. "Because the system is behaving exactly like it is supposed to behave, the same bug will show up in vendor after vendor after vendor. This one bug affected not just Microsoft ... not just Cisco, but everyone."

On Tuesday, a number of software and network-hardware vendors released patches for their products. On its regularly scheduled patch day, Microsoft released updates for Windows 2000, Windows XP and Windows Server 2003 to mitigate the issue, which the company ranked an important vulnerability, its second highest grade of severity. Internet Software Consortium, the group responsible for the development of the popular Berkeley Internet Name Domain (BIND) server, also released a patch, confirming that its software contained the vulnerability. Both Cisco and Juniper also acknowledged flawed systems.

Vendors have also provided the fix to certain large clients. Yahoo will be upgrading its name servers from BIND 8 to the latest version of BIND 9, the Internet Software Consortium stated during the conference call. Internet service provider Comcast has already patched its servers for the issue, according to internet infrastructure firm Nominum. Finally, the Computer Emergency Response Team (CERT) Coordination Center has contacted some other nation's response groups to inform them of the problem.

For the most part, however, internet service providers and companies each received the fix on Tuesday, said Sandy Wilbourn, vice president of engineering at Nominum. The goal: To have every major service provider and company apply their software patches in 30 days.

For that reason, don't expect immediate action, Wilbourn said.

"For key customers on our network, we have made a special effort to get them an early release to help solve this problem, and a number of them have finished deployment," he said. "But the nature of this patch is that we wanted to get the vendor side covered and then have deployment over the next 30 days. Anyone that is not patched by today or tomorrow is not doing anything wrong."

The domain-name system (DNS) has been a popular way to attack the internet in the past - it's an ill-kept secret that the DNS system is insecure. The way that many software applications, such as browsers, handle DNS requests has opened up users to attack. Microsoft has fixed a few vulnerabilities in the way Windows handles domain names - issues that could have lead to easier eavesdropping or simpler phishing attacks.

More here:[url]

View Replies!   View Related
Change The Setup Date In Cpanel
I terminated an account in WHM and when I created again, the setup date in list of accounts changed to today,

How can I edit this time?

View Replies!   View Related
How To Setting Mysql Date/time
how to setting mysql data / time?

server have -9 H from our

We have setting under WHM for time server but we also need to setting mysql

View Replies!   View Related
Wrong Date/Time On Server
The other server that I'm working on issues the wrong date/time when I run

$ date

Wed Oct 17 20:01:03 CDT 2007

I tried the same command on the other server

Wed Oct 17 11:01:03 CDT 2007

View Replies!   View Related
Delete Files Created On A Specific Date
Is there a quick shell command to find (inside a directory) and delete all the files created e.g. on January 10, 2008 ?

View Replies!   View Related
Chaning Hosting Companies Is A Blind Date
Changing hosting companies is pain, let's admit it. You don't know what you're getting until you get it. Yes, it's like blind date.

The hosting company is talked up and fake reviews are posted in hopes of getting an affiliate commission. Some "companies" are actually Uncle George with a reseller account acting like he has a staff of 20 people.

So recently I was looking to 'downsize' after having a dedicated server for 20 months. There's was a hiccup with the hosting company. The email file permissions was constantly getting changed. It was a mystery because everytime tech support fixed it; the next day, it would happen again!

The operations manager was in contact by telephone and even gave me his cell phone number. I was also in telephone contact with Tech Support constantly until they have found the culprit - an old, invalid Cpanel Skin.

After the ordeal, I praise the team and company. But a week later, Omaha Steaks should up at my doorstep. Wow!

Well, now it's a year later and I need to downsize.

I looked at BlueHost, HostGater, Ixhosting, HostingExcellence and others... I could NOT believe what they offered for the money. I looked and looked.. and was excited that I could downgrade from a dedicated server and save $150 a month!

Finally, I decided to try BlueHost reluctantly.. as a test. But I tried to sign up for 30 minutes and the site was down. Uh-oh....

My gut - This is a wake up call.

Stick with what's WORKING.

I immediately emailed the Operations Mgr that hosts my dedicated server. Told him what I wanted. I needed a reseller account with additional IPs. He directed me to exactly what I needed and then asked if we could work something out on my current server. But with my sites slacking off, I just settled on a Reseller account.

They transferred everything and the site got a Internal Error (500).. err.. but don't worry - Tech Support found the .htaccess file was using suexec on the old server. So they commented it out and the sites appeared.

The POINT IS: Stick with WHO you know and What's WORKING. Yes, the current host may be a few nickels more than the Popular Hosting companies advertising in the magazines.. but they do NOT beat the support I've received over the last 20 months.

Final Review: I cannot praise HostDime enough. They are awesome. Mike K. is fantastic. I will keep my account there and it will run into the 3 third year in a few months.

www.HostDime.com is a REAL company, charging very reasonable rates, and you get the best support ever. They guys & gals won't give up until they solve the problem.
If you're considering moving hosts, try them.

View Replies!   View Related
DNS Error: Ignoring Out-of-zone Date
i have nameservers setup on my server using (for example) ns1.domain.net and ns2.domain.net with ips 12.12.12.1 and 12.12.12.2, respectively.

Heres my zone file generated by WHM for ns1

Code:
; Modified by Web Host Manager
; Zone File for ns1.animeost.net
$TTL 14400
@ 86400 IN SOA ns1.domain.net. user.gmail.com. (
2007052706
86400
7200
3600000
86400
)
ns1.domain.net. 86400 IN NS ns1.domain.net.
ns2.domain.net. 86400 IN NS ns2.domain.net.
ns1.domain.net. 14400 IN A 12.12.12.1
localhost.ns1.domain.net. 14400 IN A 127.0.0.1
Heres my zone file generated by WHM for ns2

Code:
; Modified by Web Host Manager
; Zone File for ns1.animeost.net
$TTL 14400
@ 86400 IN SOA ns1.domain.net. user.gmail.com. (
2007052706
86400
7200
3600000
86400
)
ns1.domain.net. 86400 IN NS ns1.domain.net.
ns2.domain.net. 86400 IN NS ns2.domain.net.
ns2.domain.net. 14400 IN A 12.12.12.2
localhost.ns2.domain.net. 14400 IN A 127.0.0.1
After i restarted bind, it gave me the error in /var/log/messages

Code:
May 27 15:55:18 mail named[89641]: starting BIND 9.3.4 -u bind -c /etc/namedb/named.conf -t /var/named -u bind
May 27 15:55:18 mail named[89641]: command channel listening on 127.0.0.1#953
May 27 15:55:18 mail named[89641]: /etc/namedb/ns1.domain.net.db:13: ignoring out-of-zone data (ns2.animeost.net)
May 27 15:55:18 mail named[89641]: /etc/namedb/ns2.domain.net.db:12: ignoring out-of-zone data (ns1.animeost.net)
May 27 15:55:18 mail named[89641]: running
I believe that ignoring out-of-zone data is causing my dns to not work properly. I can't ping ns1.domain.net, ns2.domain.net, and domain.net.

View Replies!   View Related
VPS Date Refuses To Change. Lunix
I'm having problems trying to change the date, no matter what I enter in webmin or shell it keeps the existing date and I've tried ntp.

Fed Core 6

View Replies!   View Related
DedicatedBox.net Disconnect Server Before Due Date
I have a server with DedicatedBox.net. My billing cycle is 26th every month, but they always disconnect my server if I don't make payment before 22th or 23th. I complained to them by email, their helpdesk and WHT PM. They did response to me, but can't have the issue resolved.

In this month, I forgot to pay in advance. They disconnected my server on 23th as always. I sent a ticket #499717 and nobody responses to me. Whether they disappear or just ignore me, it's a warning to me, so I decided to leave them. Luckily I have a backup for all my data.

This is my bad experience with DedicatedBox.net.

View Replies!   View Related
Easy Methods For Migrating My Date/site From One Server To Another?
Going to be migrating over to another server pretty soon.

Does anyone have any easy methods for migrating my date/site from one server to another?

View Replies!   View Related
Cisco Sets Last Sale Date For PIX Firewall
Thought this might be of interest since the PIX vs. ASA devices are frequently discussed here ...

View Replies!   View Related
My Midpulse Experience - Accounts Are Suspended Before Due Date
I have been with Midpulse for about a month, while hosting has been fine, but they really have serious issues with Billing.

I had selected Paypal Subscription when I signed up on 22-Aug and the subscription is paypable today 23-Sep, yet Midpulse Suspended my account yesterday itself for Non-payment Now, I'm confused whether I should cancel Paypal subscription or not.

Plus their HTTPS Billing area does not even open... so how the hell are customers supposed to Login to Billing area...

View Replies!   View Related
Download Free, Up-to-date HyperVM OS Templates For OpenVZ And Xen Here!
I have recently created a bunch of OS templates for HyperVM as their current set were hugely outdated / unsuitable.

The images tagged modernadmin all include preconfigured DenyHosts to prevent SSH brute forcing of your customers VPS.

Available are the following for OpenVZ:
centos-5.2-i386-hostinabox-modernadmin.tar.gz530,147.2KB
centos-5.2-i386-modernadmin.tar.gz109,654.2KB
centos-5.2-x86_64-modernadmin.tar.gz134,665.8KB
debian-4.0-i386-modernadmin.tar.gz61,153.3KB
debian-4.0-x86_64-modernadmin.tar.gz143,096.5KB
debian-5.0-i386-modernadmin.tar.gz75,740.6KB
debian-5.0-x86_64-modernadmin.tar.gz159,226.4KB
fedora-core-10-i386-modernadmin.tar.gz165,429.6KB
fedora-core-10-x86_64-modernadmin.tar.gz174,693.8KB
ubuntu-7.10-i386-modernadmin.tar.gz76,415.5KB
ubuntu-7.10-x86_64-modernadmin.tar.gz76,133.2KB
ubuntu-8.04-i386-modernadmin.tar.gz70,725.7KB ...

View Replies!   View Related
Up To Date Php/perl & Libcurl Support - Which Provider
I am searching for a web hosting provider that offers up to date php and libcurl versions (or up to date perl plus libcurl). Any provider that you could recommend? Many thanks for some feedback!

My current provider (Yahoo Small Business ) offers the following php & libcurl combination: php 4.3.11 libcurl/7.12.0 OpenSSL/0.9.6g zlib/1.1.3.

I posted that to a libcurl mailing list, and the answer was the following:

> 1. That's using the PHP/CURL binding (which could explain

> something), and a version of it (the entire PHP version)

> that's over 4 years old

> 2. That's a libcurl version which is 29 releases old. Soon

> celebrating 5 years! (and the OpenSSL version is similarly

> outdated)

5 years! So what I'd need is a provider offering php 5 and the latest libcurl, or (even better) a provider that offers perl in combination with an up to date libcurl version (Yahoo comes with perl, but libcurl not included).

View Replies!   View Related
Cron
I have root access to a server. Is it possible to create a cron that would restart my ftp and http server every so often. Like once a week or somthing. If so how would i do it?

View Replies!   View Related
Cron: First Of The Month
Anyone know how I'd run a cron job on the begining (first day)of every month?

View Replies!   View Related
Does Cron Timeout?
Simply wondering, does cron timeout?

I have heard mixed reports and can't find any good info. Personally i've run a cronjob for up to 6 minutes, but as my best method was sending myself emails through php, its not exactly a highly accurate testing method.

On the same note, what would happen if one cronjob is running a php script for over 10 minutes, then another cron job starts on the same script, before the first one has finished?

View Replies!   View Related
Rsync And Cron
I have a bit of a strange problem, I have an rsync command setup in the servers crontab and from the cron log it show it ran the command but the files don't copy to the backup server. If I take the rsync syntax and run it manually all the files copy across with no errors, but I can't figure out why the cronjob doesn't work properly.

View Replies!   View Related
Remote Cron
I've just noticed that many people may have a free remote cron facility without realising it.

If you have any domains registered with Godaddy, you get free web space that includes a cron facility. It only runs every half hour, but you could set six jobs at 5 min intervals to get an effective 5-minute poll, which is good enough for many purposes. You could use it to check uptime on another site, for example. Has anyone tried this?

View Replies!   View Related
Cron Job
PHP Code:

* */1 * * *

But I didnt understand the difference from

PHP Code:

* * * * *

time property? Why is there a need for /1?

View Replies!   View Related
Cron Commands
I've been reading through tutorials for setting up cron commands via cPanel, but everything I have tried does not work. What I need to do is simple - I just want to run a php file on my server once every 15 minutes.

View Replies!   View Related
Error In Cron
Got this from the daily.cron email:

/etc/cron.daily/chkrootkit.sh:

/proc/18927/fd: No such file or directory

really weird, when I run that command manually, it doesn't show that error.

View Replies!   View Related
Cron Daemon
Im getting daily 100 of emails from Cron Daemon Cron

which having following information any body let me know what is cron daemon and how can i disable these email

Code:
/bin/sh: /usr/local/etc/logcheck.sh: No such file or directory

View Replies!   View Related
Cron Job
in order to backup db automatically i want to use cron job. So i set cron job at 00 AM

suppose that : my infos
db name : db
db user : zode
db pass : 123

the command i use is following

PHP Code:

mysqldump -u zode -p123 of -K -c -f --compatible=mysql40 --default-character-set=utf8 db > backup/db_`date +%d%m%y`.sql 

in good time i am looking into backup directory db is in it or not

but there is nothing in it

View Replies!   View Related
Cron / WGet
My crontab uses Wget to access a PHP file. It works just fine; however, the only problem is that each time the crontab is run it creates a file in the root of my site called filename.php.10XX

filename is the name of the file that Wget runs and 10xx is just the number of times the tab has been run.

How can I prevent these files from being created?

View Replies!   View Related
Cron Job
I run A Centos 4.xx latest kernel server and Ive got a problem with Cron Job reporting.

The Cron Jobs themselves are working fine but I keep getting this message, on the hour, every hour

Quote:

Originally Posted by Email from the Cron Daemon

Not a directory: /etc/cron.hourly

The folder etc/cron.hourly DOES EXIST! and I cannot work out what could be causing this?

Does anyone hgave any ideas what could be causing it

View Replies!   View Related
CRON Job Timing Out
i have had a problem for some time now, regarding my CRON jobs. I am trying to download a large amount of data from ebay (through their API, totally legal and aboveboard) using php, but my CRONjob times out.

I have tried resetting the timeout variable, but then it exceeds the maximum filesize
SO, my question: is there any way to have a script run as a CRON job, and wen it is complete, call another script?

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved