• About
  • Arts
  • Video / Photos
  • Contact us
Linux Servers cPanel webhosting blog
Basics cPanel tutorials / issue,mysql,php errors etc
Home

Set cron with password?

By Gunjan · February 21, 2010

Most of the scripts cron run from admin section and we are settings cron without admin section login details due to that cron never be run.We can set the cron with the admin section login details.Mostly we prefer curl to set the authentication cron because most of the servers blocking wget/lynx command.Simply we can set the cron with the following syntax.

/usr/bin/curl http://support:1q2w3e@www.yourdomain.com/test_script/cron.php

If you don’t want to receive cron result in E-mail then refer following sytax

/usr/bin/curl http://support:1q2w3e@www.yourdomain.com/test_script/cron.php  > /dev/null 2>&1

delicious | digg | reddit | facebook | technorati | stumbleupon | savetheurl
Category: Cron jobs issue, Linux Administrator Interview Questions  Tags: admin login details in cron, cronjobs, curl cronjobs, how to set cron with surl, password in cron, Set cron with password
You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.

« Horde session issue?
How to check mysql servers set values? »
  • Calendar

    February 2010
    M T W T F S S
    « Jan   Mar »
    1234567
    891011121314
    15161718192021
    22232425262728
  • The Perfect Forum

    • .htaccess (9)
    • Basic Linux (33)
    • Browser problems (3)
    • Common errors (5)
    • cPanel + cPanel scripts (16)
    • Cron jobs issue (4)
    • Definition / Explanation (5)
    • E-mails issue (12)
    • Enable private PHP (4)
    • Few good queries and suggestions (11)
    • FTP / Frontpage / Dreamweaver (8)
    • Install server side software / script (11)
    • Linux Administrator Interview Questions (30)
    • Linux Permissions (7)
    • Mailman (1)
    • Mysql + phpmyadmin (11)
    • NFS server (6)
    • PHP (6)
    • Server Security (15)
    • Third party script issue (9)
    • Tomcat (1)
    • Uncategorized (15)
    • VPS (27)
  • Archives

  • Tag you need to know

    .htaccess .htaccess file /etc/login.defs /etc/ssh/sshd_config /var/cpanel/cpanel.config Access denied for user 'root'@'localhost' AddHandler + Safari browser problem cgi script clear cache cPanel access logs cPanel error logs cPanel exim logs cPanel logs cPanel servers logs defination for /etc/login.defs Disable directory listing exim logs find command login.defs mysql from WHM mysql has failed mysql service mysql service from WHM Network File System NFS Server php form phpmail() form phpmail function please contact the sysadmin roundcube roundcube error Safari browser Safari browser + AddHandler Safari browser + AddHandler application/x-httpd-php5 Safari browser downloading .html pages. Safari browser downloading pages Safari downloading pages simple php form simple phpmail() form simple phpmail function form sshd restart suexec trueuserdomains using the NFS Server what is login.defs
  • Tag

    .htaccess .htaccess file /etc/login.defs /etc/ssh/sshd_config /var/cpanel/cpanel.config Access denied for user 'root'@'localhost' AddHandler + Safari browser problem cgi script clear cache cPanel access logs cPanel error logs cPanel exim logs cPanel logs cPanel servers logs defination for /etc/login.defs Disable directory listing exim logs find command login.defs mysql from WHM mysql has failed mysql service mysql service from WHM Network File System NFS Server php form phpmail() form phpmail function please contact the sysadmin roundcube roundcube error Safari browser Safari browser + AddHandler Safari browser + AddHandler application/x-httpd-php5 Safari browser downloading .html pages. Safari browser downloading pages Safari downloading pages simple php form simple phpmail() form simple phpmail function form sshd restart suexec trueuserdomains using the NFS Server what is login.defs

    .htaccess (9)
    Basic Linux (33)
    Browser problems (3)
    Common errors (5)
    cPanel + cPanel scripts (16)
    Cron jobs issue (4)
    Definition / Explanation (5)
    E-mails issue (12)
    Enable private PHP (4)
    Few good queries and suggestions (11)
    FTP / Frontpage / Dreamweaver (8)
    Install server side software / script (11)
    Linux Administrator Interview Questions (30)
    Linux Permissions (7)
    Mailman (1)
    Mysql + phpmyadmin (11)
    NFS server (6)
    PHP (6)
    Server Security (15)
    Third party script issue (9)
    Tomcat (1)
    Uncategorized (15)
    VPS (27)

    WP-Cumulus by Roy Tanck and Luke Morton requires Flash Player 9 or better.

  • Recent Posts

    • How to disable root login and enable key authentication on Dedicated server?
    • New subdomain missing cgi-bin directory.
    • Joomla “404 component error”?
    • SuExec server permission issue?
    • “unauthenticated user” problem in mysql logs?
    • Joomla “Not a valid image” issue?
    • SERVICE CURRENTLY NOT AVAILABLE Error No. [0x01F4] – RoundCube
    • Secure server from WHM?
    • Internal Server Error “cPanel user” is over quota.
    • JoomlaFCK editor is not working?
  • Blogroll

    • Check it 9
    • Dedicated Servers Asia Dedicated server hosting asia will provide you with the information related with Dedicated Servers in Asia and guidance through the process 0
    • Development Arts This is the best Arts… 9
    • Documentation You like to watch it once in your life 0
    • Suggest Ideas Contact us if you have any query regarding to our Arts 0
    • Support Webhosting Forum 9
    • Themes Check out best Arts and choose it for you.. 0
  • Search: the web pages