Jump to content
xisto Community
Sign in to follow this  
runefantasy

What Are Cron Job Commands What are they?

Recommended Posts

OK, OK, so I just figured out what a Cron Job is in Cpanel... There's a command, there's an email, and there's a time... Email to send you the results, time to set how repetitive it gets and command... what's the command for? I have no idea what to put for the command? Are there a list of commands or do you make your own? What language is it suppose to be in? Is it just an address, or do you have this 'crontab' thing infront of it or something... I just want to use it to update how many days of hosting I have left from this forum to my website... Is there a script somewhere that can do that? Please do help, I want to familiarize with all the functions in Cpanel.

I found this: https://access.redhat.com/documentation/en/ and it describes what a Cron Job is. I know there's bash and crontab... WHAT DO THEY DO lol...?

Edited by microscopic^earthling (see edit history)

Share this post


Link to post
Share on other sites

Cron jobs and crontab are the linux version of your Windows Scheduler, i.e. they run certain tasks at specified intervals. Cron comes from the word "Chronology".crontab is the Cron Table which stores records for all your cron jobs.Now, the "commands" that you seek are actually unix shell commands/scripts - for that you need to refer to unix shell commands guide - there are plenty of bash scripting and command guides on the net along with online man pages. Just check them out - there are too many commands to describe in here... We're designing a page so that users can check their credits without logging into the board. Once that is done, you can use that to fetch the values (using perl/php(curl) in crontab) to fetch the value and then plug it into your site maybe.

Share this post


Link to post
Share on other sites

Curl (Client URL) or as it is commonly known - cURL - is an advanced set of libraries with prebuilts functions for easy URL parsing. Just check on the php site to know more about cURL. Particularly when you write data-mining code - to extract data from other sites and re-format and display it on your site - these libraries come to real handy...

 

Curl supports a wide variety of protocols - so you can fetch data from literally any source...

PHP supports libcurl, a library created by Daniel Stenberg, that allows you to connect and communicate to many different types of servers with many different types of protocols. libcurl currently supports the http, https, ftp, gopher, telnet, dict, file, and ldap protocols. libcurl also supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with PHP's ftp extension), HTTP form based upload, proxies, cookies, and user+password authentication.

 

These functions have been added in PHP 4.0.2.

 

Source: http://forums.xisto.com/no_longer_exists/


 

Regards,

m^e

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.