Juan, Are you trying to do so from inside a PHP script?
If that is the case, you could do: $entry = "$min $h $d $m $s $command $comment"; $added = system ("echo $entry >> /var/spool/cron/tabs/$user", $retval); if ($retval) { echo "success"; } else { echo "failure"; } Please notice that the code is not tested! Let us know if that helped! -- ES --- John Nichel <[EMAIL PROTECTED]> wrote: > Juan Pablo Herrera wrote: > > Hi! > > I need make a cron file, for example a .job file: > > #mi ho di me seq job > comment > > 45 11 * * 0-5 php -q > /home/test/test.php # Make backup > > How can make it?. > > How about asking on the proper list? Or Google? > > Do we now add Cron to the list what this list > supports? > > -- > John C. Nichel > ÜberGeek > KegWorks.com > 716.856.9675 > [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php