How to run cron on Drupal 6 from shell script with correct paths
This is how you can run cron on Drupal 6 from a shell script and get out more of the cron run than via HTTP.
This is how you can run cron on Drupal 6 from a shell script and get out more of the cron run than via HTTP.
This is some idea on how you can add a datepicker programmatically with the jquery_ui module. This code is not working as it is, its just some code I have cut out from my code. You have to match the form id in the jquery script as the drupal form creates. Look for edit-from, edit-to, edit-month in the script. I have here two alternative jquery scripts. And you find more scripts at the link to jqueryui.com below.
Create a file in your home folder and add the following skeleton script and save the script as "set_rights", or something.
Script to add a tree to CVS recursive.
You do have to write your password to each file.
/usr/local/bin/cvs_add
#!/bin/bash
dir=${1-"."}
pushd "$dir" > /dev/null
echo -n "adding files in "
pwd
cvs add *
for subdir in `ls -dp * | egrep "/$" | egrep -v "CVS"`
do
"$0" "$subdir"
done
popd > /dev/null