I think this may solve your problem 

* * * * * /usr/bin/php -q /var/www/cron/automatedScript.php


Info : PHP path may be vary in different os. So you have to know right installtion path of PHP.

Cron not executing PHP script
I am badly stuck on this problem and would appreciate any kinds of helps! I have to create a page where the user can add more rows by clicking a button. For example, I have the first row with 2 text boxes (name and birth dates), second row with the "Add Row" button. When the user clicks the "Add Row" button, the first row should be cloned and repeated...but the user can't add more than 5 rows. Later all the information need to be saved in a SQL table. How this can be achieved in C#?  

I am attaching my sample ASP.NET. Can any one PLEASE help me? 

PS: I have already read and tried "How to: Add Rows and Cells Dynamically to a Table Web Server Control"....but that's not working for me.

&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head runat="server"&gt;
    &lt;title&gt;Testing Adding Rows&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;
    &lt;div&gt;    
        &lt;asp:Table ID="Table1" runat="server" width="400" style="border:[none][0]; border-color:White; border-style:hidden"&gt;                
            &lt;asp:TableRow ID="TableRow1" runat="server"&gt;
                &lt;asp:TableCell runat="server" nowrap="nowrap" Width= "70"&gt;
                    &lt;asp:Label ID="nameLabel" runat="server" Text="Your Name" Font-Size="X-Small"&gt;&lt;/asp:Label&gt;
                &lt;/asp:TableCell&gt;
                &lt;asp:TableCell runat="server" nowrap="nowrap" Width= "100"&gt;
                    &lt;asp:TextBox ID="tb_name" runat="server" Font-Size="Smaller"&gt;&lt;/asp:TextBox&gt; 
                    &lt;asp:RequiredFieldValidator ID="nameValidator" runat="server" ControlToValidate="tb_name" Font-Size="Smaller"&gt;*&lt;/asp:RequiredFieldValidator&gt;
                &lt;/asp:TableCell&gt; 

                &lt;asp:TableCell runat="server" nowrap="nowrap" Width= "70"&gt;
                    &lt;asp:Label ID="dateLabel" runat="server" Text="Birthdate" Font-Size="Smaller" &gt;&lt;/asp:Label&gt;
                &lt;/asp:TableCell&gt;                        
                &lt;asp:TableCell runat="server" Width= "100"&gt;
                    &lt;asp:TextBox ID="tb_date" runat="server" Font-Size="Smaller"&gt;&lt;/asp:TextBox&gt;
                    &lt;asp:RequiredFieldValidator ID="dateValidator" runat="server" ControlToValidate="tb_date" Font-Size="Smaller"&gt;*&lt;/asp:RequiredFieldValidator&gt;
                &lt;/asp:TableCell&gt;

            &lt;/asp:TableRow&gt;


            &lt;asp:TableRow ID="TableRow2" runat="server"&gt; 
                &lt;asp:TableCell runat="server" align="left" Width= "100"&gt;
                    &lt;asp:Button ID="addRow" runat="server" Height="22px" Text="Add Row" 
                                 ToolTip="Click to add another row" onclick="ButtonAddRow_Click" /&gt;
                &lt;/asp:TableCell&gt; 
            &lt;/asp:TableRow&gt; 


            &lt;asp:TableRow ID="TableRow3" runat="server"&gt;  
                &lt;asp:TableCell runat="server" bordercolor="#FFFFFF"&gt;    &lt;/asp:TableCell&gt;

                &lt;asp:TableCell runat="server"  align="left" nowrap="nowrap" bordercolor="#FFFFFF"&gt;
                    &lt;asp:Label ID="msg" runat="server" ForeColor="Red" Font-Size="Smaller"&gt;&lt;/asp:Label&gt;
                    &lt;asp:ValidationSummary ID="LogonValidationSummary" HeaderText="All the fields (*) are required." DisplayMode="SingleParagraph"
                                           Font-Italic="true" ShowSummary="True" EnableClientScript="true" runat="server" Font-Size="Smaller"/&gt; 
                &lt;/asp:TableCell&gt;
            &lt;/asp:TableRow&gt;

             &lt;asp:TableRow ID="TableRow4" runat="server"&gt; 
                &lt;asp:TableCell ID="TableCell10" runat="server" bordercolor="#FFFFFF"&gt;       &lt;/asp:TableCell&gt;

                &lt;asp:TableCell ID="TableCell11" runat="server" align="left" bordercolor="#FFFFFF"&gt;
                    &lt;asp:Button ID="ButtonSubmit" runat="server" Height="22px" Text="Submit" Width="79px" onclick="ButtonSubmit_Click" /&gt;
                &lt;/asp:TableCell&gt;
            &lt;/asp:TableRow&gt;

        &lt;/asp:Table&gt;    
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;

