|
PHP Cronjob with parameters |
 |
 |
 |
8
(5 votes, average 5.00 out of 5)
|
Written by Alex Balyuk
|
|
Thursday, 05 August 2010 18:35 |
|
PHP the most popular scripting language in the world. Many people use it for different things. I recently worked on a custom joomla component that required a scheduled task (cronjob). The task required joomla libraries so I created a "cronjob" controller to handle this scenario. Controller gives access to all MVC features, such as models and therefore tables. If you know, Joomla has only one entry point and it is right through the front door (e.g. index.php) with parameters that route to desired destination. When I wanted to schedule my crontab I found out that it is not as simple as it seems. Here is what you have to do to create any cronjob that executes php page/script and required query string (key/value) parameters.
|
|
Last Updated on Thursday, 19 August 2010 15:33 |
|
7
(8 votes, average 5.00 out of 5)
Extract RAR files under Linux or UNIX |
 |
 |
 |
|
Written by Alex Balyuk
|
|
Tuesday, 20 July 2010 21:01 |
|
Even though archiving standards are zip and gz some people like to deversify and use different archiving programs like rar. Fist of all, there is nothing wrong with using rar, it is a great program. Only problem is that rar is not always supported and need special software to open it. On windows users may use WinRAR or 7z , but on Linux this proces is little bit painful. In order for us to open rar archive we need to have unrar package installed.
|
|
Last Updated on Thursday, 19 August 2010 15:38 |
|
|
|
|
|
|