How could I append a cron task in crontab via a perl script?
I thought of the following:
#!/usr/bin/perl
use strict;
use warnings;
`crontab<<EOL
00 * * * * /home/slynux/download.sh
EOL`
I don't want to mess up things, so am I on the right track?
Also if I append it, how would I remove it? I am new in Perl