Hi,
I am a newbie with cpanel and cron jobs.
i want to be able to set automatic database and backup files for my site every day or week or month.
How do I do that? What is the cron job syntax for such a thing?
thanks
Hi,
I am a newbie with cpanel and cron jobs.
i want to be able to set automatic database and backup files for my site every day or week or month.
How do I do that? What is the cron job syntax for such a thing?
thanks
Are you an end user (cpanel only) or a server owner (cpanel / whm)?
I too, would like to know how to do this.
every once in a while I'll backup my stuff, but I'd like it automated or scheduled for weekly or monthly.
I'd guess I'm an end user (I'm pretty sure i only have cpanel (version 11.24.4-STABLE) because I've never seen the whm)
I have no idea what a cron job is but I've been looking for automated backups and some people have mentioned scripts. (I got lost because I have no idea of how to install a script into cpanel)
if you could shed some light on the matter, I'd greatly appreciate it.
thanks,
I also am new to cron jobs and would like to know how to schedule them.
I am a WHM user.
I am sending a job to
/usr/bin/curl
but I get error saying no such directory.
I am sure it's something simple and I am just not sure what to do.
Any advice would be appreciated, I know you are busy so thanks for your time.
Type the following command:
You should see something like this:Code:# which curl
If the path returned is not /usr/bin/curl, then you will need to adjust the path in your cron job.Code:# which curl /usr/bin/curl
If you see no output, then you need to install curl. On a Red Hat or CentOS server, /usr/bin/curl is provided by the curl RPM package, and you should be able to install it using yum:
Please note that the curl package that provides /usr/bin/curl is not related to the curl PHP extension that can be built into PHP using EasyApache. The RPM package provides the functionality from the command line prompt. The option in EasyApache builds it into PHP. The two are distinct.Code:# yum install curl
For hands-on assistance, please reference our new support information page: Where should I go for support?
cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists(Alt) - Documentation
-- Jared Ryan, Technical Analyst, cPanel Technical Support