11-17-2011
I think you need to modify ~/.bashrc to make that change permanent.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have the below crontab job that it will run at every 7:00am - 10:00am , it work fine , now if I want to skip to run the crontab job at a specific time , eg. I want the script not to run at next Monday 8:00am ( only skip this time , other time is normal ) , how can I make it ? is it possible ?... (3 Replies)
Discussion started by: ust
3 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a crontab that runs some shell scripts at fixed intervals. Although, one condition for a script to continue is that a previous instance of the same script should have terminated. But, inspite of the fact that the old instance has finished execution, the new instance still terminates.
... (3 Replies)
Discussion started by: puneetarora_12
3 Replies
3. Solaris
I am trying to setup cronjob and once I start to save it is not working. This is what I am getting after I executed crontab -e, I am not even getting the privious entry and I am running from root.
crontab -e
421
10 3 * * * /usr/sbin/logadm
?
:wq
?
Why is it not saving? Any input is... (4 Replies)
Discussion started by: mokkan
4 Replies
4. Solaris
new to unix here, im learning how to schedule jobs with crontab. The following cron job runs under root but not under a test account i created.
50 11 * * 0 /usr/bin/banner "HELLO" > /dev/console
i have no idea with it isn't running under the test account but runs right on time when i create... (7 Replies)
Discussion started by: solne
7 Replies
5. UNIX for Dummies Questions & Answers
Hey all.
Im totally new with makeing websites ect
The thing is, i wanted to make one of those pimp games, so i installed a script called mypimpscript.. it works but the 10mins cron jobs dont...
ive tried to set it up in cpanel, but im doing it wrong :S
right now it looks like this php... (1 Reply)
Discussion started by: princess
1 Replies
6. Shell Programming and Scripting
Hello All,
I want to run a script for every 5 minutes interval.So i developed a script which has to be scheduled to run for every 5 minutes. That script internally runs another script. But the problem is it is not executing properly. Can anybody throw some light on this.
Below are the code... (4 Replies)
Discussion started by: RSC1985
4 Replies
7. Shell Programming and Scripting
Hi ,
I have a TCL script which i am supposed to run as a cron job..
The script works fine from command line , but when run as a cron job , its unable to find a package,,
my crontab is as follows.
---------------------------
#!/usr/bin/ksh
* * * * * PATH=/cm8/auto/Automation/Library/TclLib
... (7 Replies)
Discussion started by: Sudharshana
7 Replies
8. UNIX for Dummies Questions & Answers
Hey guys... first post here...
I have set up the following cron to create daily backups for me and rotate them weekly:
date=`date +%d`; tar -zcvf /home/mysite/backups/backup_dev_$date.tgz /home/mysite/public_html/dev/app --exclude=/home/mysite/public_html/dev/app/tmp
However, I keep... (4 Replies)
Discussion started by: Crazy Serb
4 Replies
9. UNIX for Dummies Questions & Answers
I have a perl script which Im planning to run every minute.
I have set the cron job as
* * * * * PATH= /usr/local/bin:/usr/bin:/usr/sbin:/usr/lib; perl /dm2/www/html/isos/pre5.3/autoDownload.pl
I assume the script is executing every minute only because I see a entry like below when I do... (2 Replies)
Discussion started by: srijith
2 Replies
10. Shell Programming and Scripting
HI,
I have written an executable file in unix and I was able to execute it successfully but when I called this file with cron job it was giving error like "permission denied" and "No such file or directory".
Please help in how cron calls the file and what permission is required on the file... (2 Replies)
Discussion started by: vipin kumar rai
2 Replies
LEARN ABOUT DEBIAN
catalyst::manual::deployment::sharedhosting
Catalyst::Manual::Deployment::SharedHosting(3pm) User Contributed Perl Documentation Catalyst::Manual::Deployment::SharedHosting(3pm)
NAME
Catalyst::Manual::Deployment::SharedHosting - Deploying Catalyst on Shared Hosting
Catalyst on shared hosting
So, you want to put your Catalyst application out there for the whole world to see, but you don't want to break the bank. There is an
answer - if you can get shared hosting with FastCGI and a shell, you can install your Catalyst app in a local directory on your shared
host. First, run
perl -MCPAN -e shell
and go through the standard CPAN configuration process. Then exit without installing anything. Next, download the latest local::lib package
and follow its 'bootstrap' instructions to get it installed and the local configuration added to your "~/.bashrc".
Now log out, then back in again (or run ". .bashrc" if you prefer).
Now you can install the modules you need using CPAN as normal; they will be installed into your local directory, and Perl will pick them
up. Finally, change into the root directory of your virtual host, and symlink your application's script directory:
cd path/to/mydomain.com
ln -s ~/lib/MyApp/script script
And add the following lines to your .htaccess file (assuming the server is setup to handle .pl as fcgi - you may need to rename the script
to myapp_fastcgi.fcgi and/or use a SetHandler directive):
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/?script/myapp_fastcgi.pl
RewriteRule ^(.*)$ script/myapp_fastcgi.pl/$1 [PT,L]
Now "http://mydomain.com/" should now Just Work. Congratulations, now you can tell your friends about your new website.
AUTHORS
Catalyst Contributors, see Catalyst.pm
COPYRIGHT
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-20 Catalyst::Manual::Deployment::SharedHosting(3pm)